BrandonH Posted September 13, 2022 Share Posted September 13, 2022 Site URL: http://alcyball.squarespace.com Hi! I'm wanting to create a smooth transition between the first and second sections of my website using a gradient fade. The idea would be that the hero image has a color overlay, then that color transitions from 0 opacity at the top of the image to 100 opacity at the bottom of the image, and the color overlay is the same color as the next section on the website so that the transition looks seamless. Any help would be so much appreciated! Link to comment
creedon Posted September 13, 2022 Share Posted September 13, 2022 Your site is private please set up a site-wide password. Post the password here. Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works. We can then take a look at your issue. Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support! Link to comment
Web_Solutions Posted September 14, 2022 Share Posted September 14, 2022 12 hours ago, BrandonH said: Site URL: http://alcyball.squarespace.com Hi! I'm wanting to create a smooth transition between the first and second sections of my website using a gradient fade. The idea would be that the hero image has a color overlay, then that color transitions from 0 opacity at the top of the image to 100 opacity at the bottom of the image, and the color overlay is the same color as the next section on the website so that the transition looks seamless. Any help would be so much appreciated! Your website is in private mode. Please set a password and share it. Set Password.mp4 Create_Job 1 Link to comment
BrandonH Posted September 14, 2022 Author Share Posted September 14, 2022 Rookie mistake 🤦♂️ So sorry. Site password is alcy Link to comment
Solution creedon Posted September 14, 2022 Solution Share Posted September 14, 2022 (edited) Add the following to Design > Custom CSS. .homepage #page .page-section:first-child .section-background-overlay { background : linear-gradient( to bottom, transparent, var( --siteBackgroundColor ) ); opacity : 1 !important; } This is for v7.1 and specific to the posters need. Let us know how it goes. Edited September 15, 2022 by creedon version 2 Yolk and BrandonH 2 Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support! Link to comment
BrandonH Posted September 15, 2022 Author Share Posted September 15, 2022 @creedon you are the man! Thanks so much! It looks amazing on the screenshot you provided, but unfortunately, when I plug that CSS code in, the opacity of the gray overlay never quite reaches 100%. Can you see what I'm talking about in my screenshot? Any ideas what would be keeping it from getting to 100% opacity? Link to comment
creedon Posted September 15, 2022 Share Posted September 15, 2022 Quote Any ideas what would be keeping it from getting to 100% opacity? I have updated my CSS in my previous post. Let us know how it goes. BrandonH 1 Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support! Link to comment
BrandonH Posted September 15, 2022 Author Share Posted September 15, 2022 Amazing, thanks so much!! 🙌 creedon 1 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