spbb Posted October 19, 2022 Share Posted October 19, 2022 Hi, I'm wondering if there is any way to blend my header image / banner into the background colour below? So, at the bottom of my header image there would a smooth blend into the rest of the page? I made the background of the banner the same colour as the background colour below, but there is still a visible cut off line between the two sections. Any advice would be appreciated Thanks! Link to comment
joseph81 Posted October 21, 2022 Share Posted October 21, 2022 Can you provide us with a website link? Usually these kinds of solutions include a gradien overlay applied on top of the image that goes from transparent to that color(top to bottom). Jozsef Kerekes - Front-end developer and Squarespace enthusiast My Blog: https://ui-workarounds.comIf you like my answer, please give me an upvote/like. Highly appreciated. Link to comment
spbb Posted October 24, 2022 Author Share Posted October 24, 2022 Sure thing. It is slowpouryeg.com -- the section I'm concerned about is the "About" page. Use "SPbb$2022!" to see the site Thanks again, Link to comment
Solution joseph81 Posted October 26, 2022 Solution Share Posted October 26, 2022 This is the solution for this section: [data-section-id="62c33c4562158217bb0e2faa"] { position: relative; &::before { content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0; background-image: linear-gradient(transparent 77%, var(--siteBackgroundColor) 100%); z-index: 1; } } spbb 1 Jozsef Kerekes - Front-end developer and Squarespace enthusiast My Blog: https://ui-workarounds.comIf you like my answer, please give me an upvote/like. Highly appreciated. Link to comment
spbb Posted October 31, 2022 Author Share Posted October 31, 2022 Wow, thank you very much. This worked perfectly. I would never have figured this out without your help. Cheers! joseph81 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