stefanosg Posted July 31, 2022 Posted July 31, 2022 (edited) Site URL: https://owl-bluebird-et6t.squarespace.com/ So my site header has a transparent background with white navigation links I want it to do 3 (related) things Change the background to white and the nav links to black on hover Completely disappear except of the navigation links & background on scroll (which I kind of achieved by reducing the logo height on scroll but it doesn't look quite right) Become white with black links on on scroll as well Here's a website that does this so you get the idea https://www.belmond.com thanks in advanced Edited July 31, 2022 by stefanosg
tuanphan Posted August 3, 2022 Posted August 3, 2022 #1. Use this CSS header#header:hover { background-color: white !important; } header#header:hover img { filter: invert(1); } header#header:hover .header-nav-item a { color: black !important; } #2. #3. You solved 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment