SeanCrafted Posted February 11, 2022 Share Posted February 11, 2022 Site URL: https://www.ptmy-morpeth.co.uk/ Hi, I was wondering if someone can advise how I can make the whole image clickable on my homepage and not just the textbox? There are 3 images I am wanting to do the same for. I've looked and can't find anywhere to add the link? Thanks Link to comment
Beyondspace Posted February 11, 2022 Share Posted February 11, 2022 1 hour ago, SeanCrafted said: Site URL: https://www.ptmy-morpeth.co.uk/ Hi, I was wondering if someone can advise how I can make the whole image clickable on my homepage and not just the textbox? There are 3 images I am wanting to do the same for. I've looked and can't find anywhere to add the link? Thanks Try adding to Home > Design > Custom Css /*1st section*/ section[data-section-id="61dda8e9afd08334af9f9a94"] { a { &:after { content: ''; display: block; width: 100%; height: 100%; background: transparent; position: absolute; top: 0; left: 0; } } .content-wrapper { * { position: static; } top: 0; left: 0; bottom: 0; right: 0; position: absolute !important; align-items: center; } } /*2nd section*/ section[data-section-id="61dda8876d090a490c87f020"] { a { &:after { content: ''; display: block; width: 100%; height: 100%; background: transparent; position: absolute; top: 0; left: 0; } } .content-wrapper { * { position: static; } top: 0; left: 0; bottom: 0; right: 0; position: absolute !important; align-items: center; } } /*3rd section*/ section[data-section-id="61dda984e4dcf868ea78e99b"] { a { &:after { content: ''; display: block; width: 100%; height: 100%; background: transparent; position: absolute; top: 0; left: 0; } } .content-wrapper { * { position: static; } top: 0; left: 0; bottom: 0; right: 0; position: absolute !important; align-items: center; } } Let me know how it works on your site Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
SeanCrafted Posted February 11, 2022 Author Share Posted February 11, 2022 That's fantastic and works just how I wanted thank you. Do you know how I can also make the gift voucher image a little smaller which is at the bottom of every page? I've tried spacers etc but it's not working and moves image all over the place? Thanks for your help Link to comment
tuanphan Posted February 14, 2022 Share Posted February 14, 2022 On 2/11/2022 at 9:55 PM, SeanCrafted said: That's fantastic and works just how I wanted thank you. Do you know how I can also make the gift voucher image a little smaller which is at the bottom of every page? I've tried spacers etc but it's not working and moves image all over the place? Thanks for your help Add to Design > Custom CSS /* Footer image */ div#block-yui_3_17_2_1_1643899665179_6702 { width: 30%; margin: 0 auto; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
SeanCrafted Posted February 14, 2022 Author Share Posted February 14, 2022 On 2/11/2022 at 2:33 PM, bangank36 said: Try adding to Home > Design > Custom Css /*1st section*/ section[data-section-id="61dda8e9afd08334af9f9a94"] { a { &:after { content: ''; display: block; width: 100%; height: 100%; background: transparent; position: absolute; top: 0; left: 0; } } .content-wrapper { * { position: static; } top: 0; left: 0; bottom: 0; right: 0; position: absolute !important; align-items: center; } } /*2nd section*/ section[data-section-id="61dda8876d090a490c87f020"] { a { &:after { content: ''; display: block; width: 100%; height: 100%; background: transparent; position: absolute; top: 0; left: 0; } } .content-wrapper { * { position: static; } top: 0; left: 0; bottom: 0; right: 0; position: absolute !important; align-items: center; } } /*3rd section*/ section[data-section-id="61dda984e4dcf868ea78e99b"] { a { &:after { content: ''; display: block; width: 100%; height: 100%; background: transparent; position: absolute; top: 0; left: 0; } } .content-wrapper { * { position: static; } top: 0; left: 0; bottom: 0; right: 0; position: absolute !important; align-items: center; } } Let me know how it works on your site Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment