Marzon Posted August 10, 2020 Share Posted August 10, 2020 Site URL: https://shark-clementine-5jph.squarespace.com/portfolio .portfolio-overlay { background: linear-gradient(to bottom, #ffffff00 50%, #000000)} I'm trying to have a black gradient that fades to transparent on the portfolio grid overlay. But the existing overlay prevents #FFFFFF00 from being transparent (it's just showing as white (#FFFFFF). Any help is greatly appreciated. And please let me know if I can provide any other info. I'll be sure to get back right away. Site password is: mz Link to comment
rwp Posted August 10, 2020 Share Posted August 10, 2020 .portfolio-overlay { background: linear-gradient(to bottom, #fff0 0 50%, #000) !important; } Link to comment
Solution Marzon Posted August 10, 2020 Author Solution Share Posted August 10, 2020 (edited) 2 hours ago, rwp said: .portfolio-overlay { background: linear-gradient(to bottom, #fff0 0 50%, #000) !important; } So this appears to be working when I am editing the portfolio section (in site). However as soon as I save out of it, it reverts back to white. I fixed it! It was having a problem with the #fff0 so I switched it to rgba. .portfolio-overlay { background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 50%, black) !important; } Edited August 10, 2020 by Marzon I fixed it 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