SeanCrafted Posted February 11, 2022 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
Beyondspace Posted February 11, 2022 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 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
SeanCrafted Posted February 11, 2022 Author 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
tuanphan Posted February 14, 2022 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 Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
SeanCrafted Posted February 14, 2022 Author 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment