cloverandcrow Posted July 26, 2022 Share Posted July 26, 2022 (edited) Site URL: https://clover-and-crow.squarespace.com/ Hi! I'm trying to make the background of a section transparent as it scrolls over the section above it which I've made sticky. I want a series of images to scroll over my logo, but try as I might, I can't make the background of the section containing the images transparent. Here's a vid to help show what's happening: https://www.loom.com/share/08e3bcf0f48c4d9292622c77ff1f4a99 Password for the site is IMG_5314 Edited July 26, 2022 by cloverandcrow Link to comment
Beyondspace Posted July 27, 2022 Share Posted July 27, 2022 On 7/26/2022 at 8:28 AM, cloverandcrow said: Site URL: https://clover-and-crow.squarespace.com/ Hi! I'm trying to make the background of a section transparent as it scrolls over the section above it which I've made sticky. I want a series of images to scroll over my logo, but try as I might, I can't make the background of the section containing the images transparent. Here's a vid to help show what's happening: https://www.loom.com/share/08e3bcf0f48c4d9292622c77ff1f4a99 Password for the site is IMG_5314 Do you mean something like this? 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
Beyondspace Posted July 27, 2022 Share Posted July 27, 2022 Try adding to Home > Design > Custom Css section[data-section-id="62df3a5a3d29e478cc725e29"] { background: transparent; } Let me know how it works on your site 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
cloverandcrow Posted July 27, 2022 Author Share Posted July 27, 2022 Yes, exactly except the code doesn't work 😞 Link to comment
VelocityMarketingGroup Posted September 29, 2022 Share Posted September 29, 2022 I have been trying to do this and this is what I came up with... Try, Design > CSS > section[data-section-id="6334b1950de34d73dd870a2a"] { opacity: 0 !important; } In the same section add a code black and add this: <style> body { background-image: url("Your background image link"); background-repeat: no-repeat; background-attachment: fixed; } </style> I have no coding experience and it worked for me! Link to comment
tuanphan Posted September 30, 2022 Share Posted September 30, 2022 16 hours ago, VelocityMarketingGroup said: I have been trying to do this and this is what I came up with... Try, Design > CSS > section[data-section-id="6334b1950de34d73dd870a2a"] { opacity: 0 !important; } In the same section add a code black and add this: <style> body { background-image: url("Your background image link"); background-repeat: no-repeat; background-attachment: fixed; } </style> I have no coding experience and it worked for me! Have you replace this link with real image link yet? background-image: url("Your background image link"); 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!) Link to comment
VelocityMarketingGroup Posted October 4, 2022 Share Posted October 4, 2022 The only issue with this code is it only works on a desktop or android mobile devices. It doesn't not work with iOS. Anyone know why? Link to comment
tuanphan Posted October 6, 2022 Share Posted October 6, 2022 On 10/5/2022 at 1:23 AM, VelocityMarketingGroup said: The only issue with this code is it only works on a desktop or android mobile devices. It doesn't not work with iOS. Anyone know why? Can you share link to page where you have problem? 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!) Link to comment
VelocityMarketingGroup Posted October 6, 2022 Share Posted October 6, 2022 https://code-demo.squarespace.com/ passcode = codedemo Link to comment
tuanphan Posted October 8, 2022 Share Posted October 8, 2022 On 10/7/2022 at 3:45 AM, VelocityMarketingGroup said: https://code-demo.squarespace.com/ passcode = codedemo It looks fine to me. Which section did you use code? 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!) Link to comment
VelocityMarketingGroup Posted October 10, 2022 Share Posted October 10, 2022 Like I mentioned before, the code works on the pc and any android devices but does not work on apple/ iOS devices. I am wondering why? Thanks Link to comment
tuanphan Posted October 12, 2022 Share Posted October 12, 2022 On 10/10/2022 at 10:50 PM, VelocityMarketingGroup said: Like I mentioned before, the code works on the pc and any android devices but does not work on apple/ iOS devices. I am wondering why? Thanks Remove background-attachment: fixed; iOS doesn't support this attribute, and no way to fix it. 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!) 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