Hi,
Is there a way to change the colour of the navigation bar while scrolling?
Because at the moment it seems to have a black tint, so is there a way where i can still have the nav bar on transparent at the top of the page but while scrolling down the nav bar can have a background-color: #f00; ?
Thanks,
Above Digital
well you can try it with transition:
f.e.: Link
#header_main_alternate {
background-color: #f50
}
.header-scrolled #header_main_alternate {
background-color: #0f7 ;
transition: background-color 1s ease-in 0s
}
what kind of header have you choosen?
Logo left/right/center
navigation left/right/over or under Logo etc.
Hi,
i have that css code and it hasn’t worked even though it has worked for other sites.
Here’s the url to the site: http://www.abovedigital.duplicate.com.gridhosted.co.uk.
Hey!
Can you please try using following code?
#header {
background: #f00;
}
#header.av_header_transparency {
background: transparent;
}
Cheers!
Yigit
Hi Yigit,
I tired that but didn’t work but i did manage to find a way. But thanks anyways.
Above Digital
Hi,
Great, glad you found another solution. Please let us know if you should need any further help on the topic.
Thanks,
Rikard
Hi AboveDigital,
Can you post the solution? Thanks.
sl