Kacie Posted November 30, 2019 Share Posted November 30, 2019 Hello! I'm working in Brine and I'm having trouble with my split color background. The code I'm using works, however, I want the color to extend all the way up to the top of the page—including the header. Right now, the header remains all white. I set the logo and nav to the Bottom—which would normally make the header act transparent and allow the background image/video show thru. The custom CSS I used is throwing something off... or not taking something into account. Custom CSS currently being used: /*** SPLIT WELCOME BANNER ***/ #welcome { background: linear-gradient(90deg, #0814b3 40%, #FFFFFF 0% ); } @media only screen and (max-width: 640px) {#welcome {background: #FFFFFF !important }} Screenshot: Website is kaciemclean.com / password: kmtemp01 ----- Follow up questions would be how to make the markdown text, "tiny studio..." to revert to black in mobile view; and how to make logo revert to blue in mobile view/white in desktop view. Link to comment
tuanphan Posted November 30, 2019 Share Posted November 30, 2019 @Kacie set position absolute or fixed.. for Header 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
Kacie Posted December 1, 2019 Author Share Posted December 1, 2019 @tuanphan Thank you! Worked like a charm. Link to comment
Sherri Posted May 8, 2020 Share Posted May 8, 2020 I've tried adding fixed header code into mine like suggested but it's not working for me to get the color all the way to the top. Where does that go? Link to comment
tuanphan Posted May 8, 2020 Share Posted May 8, 2020 10 hours ago, Sherri said: I've tried adding fixed header code into mine like suggested but it's not working for me to get the color all the way to the top. Where does that go? Can you share link to your site? 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
Archived
This topic is now archived and is closed to further replies.