PatrickCapon Posted May 7 Share Posted May 7 Hi, I am trying to reduce the amount of padding around my image descriptions that are shown as an overlay within a gallery block, set to display as a slideshow. Mostly the part that I've circled in red in the screenshot, but it would be great if I could reduce the padding overall. I've also written custom CSS based on other posts in this forum that has got my background opacity set to 0.8 correctly, but the code that sets the opacity of the meta-description is not working. //Gallery block caption styling .sqs-gallery-block-slideshow .meta .meta-inside { background: #000000; opacity: 0.8; } .sqs-gallery-block-slideshow .meta .meta-description p { color: white; opacity: 1; } We are running 7.0 on the brine template, you can see the page in question here https://www.biocommons.org.au/home-copy @tuanphan you seem to have solved lots of these types of issues, any chance you know how to fix this one? Thanks! Please tag or quote me in any responses otherwise I will not be notified. My website: https://www.biocommons.org.au Link to comment
Solution Beyondspace Posted May 7 Solution Share Posted May 7 8 hours ago, PatrickCapon said: Hi, I am trying to reduce the amount of padding around my image descriptions that are shown as an overlay within a gallery block, set to display as a slideshow. Mostly the part that I've circled in red in the screenshot, but it would be great if I could reduce the padding overall. I've also written custom CSS based on other posts in this forum that has got my background opacity set to 0.8 correctly, but the code that sets the opacity of the meta-description is not working. //Gallery block caption styling .sqs-gallery-block-slideshow .meta .meta-inside { background: #000000; opacity: 0.8; } .sqs-gallery-block-slideshow .meta .meta-description p { color: white; opacity: 1; } We are running 7.0 on the brine template, you can see the page in question here https://www.biocommons.org.au/home-copy @tuanphan you seem to have solved lots of these types of issues, any chance you know how to fix this one? Thanks! Do you mean something like this? Try adding to custom CSS .sqs-gallery-block-slideshow.sqs-gallery-block-meta-position-bottom .meta-inside { padding: 20px 15px; } Let me know how it works on your site kafuhol_oxa87 and xirace_yipe90 2 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
PatrickCapon Posted May 7 Author Share Posted May 7 @Beyondspace that's perfect, thanks! How did you figure out what the correct code was to use to target that box in particular? As in how did you know I needed to use this part .sqs-gallery-block-slideshow.sqs-gallery-block-meta-position-bottom .meta-inside Please tag or quote me in any responses otherwise I will not be notified. My website: https://www.biocommons.org.au Link to comment
Beyondspace Posted May 9 Share Posted May 9 On 5/8/2024 at 5:06 AM, PatrickCapon said: @Beyondspace that's perfect, thanks! How did you figure out what the correct code was to use to target that box in particular? As in how did you know I needed to use this part .sqs-gallery-block-slideshow.sqs-gallery-block-meta-position-bottom .meta-inside You can check them on the dev tool of browser BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! 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