Tagged: hover state, sticky header
Hi there!
I’m having a little trouble finding where to change the below, please note everything is how I want it before scrolling. It’s just the sticky header I want to target:
1) Active link color on the header once you scroll down (Change to #0071ce)
2) Hover link color on the header once you scroll down (Change to #0071ce)
And if possible make the underline thicker (Say 3px, on the hover state for both the transparent header and sticky)
Many thanks in advance!
Hey brendymullan!
Thank you for using Enfold.
You can try this in the Quick CSS field:
.header-scrolled .av-main-nav > li.current-menu-item a > .avia-menu-text {
color: #0071ce !important;
}
.header-scrolled .av-main-nav > li:hover a > .avia-menu-text {
color: #0071ce !important;
}
Cheers!
Ismael
Thanks for the reply Ismael!
That’s nearly right, but for some reason when you hover a link then move off of it, it flashes white?
Also is it possible to make the line that appears under the links while hovering thicker? Say 3px thickness.
Thanks in advance :-)
Hey!
Please add this to disable the transition effect:
.av-main-nav > li > a {
-webkit-transition: none;
transition: none;
}
Use this to adjust the size of the hover fx:
.avia-menu-fx {
position: absolute;
bottom: -1px;
height: 5px;
}
Cheers!
Ismael
Thanks Ismael, that worked a treat. Much appreciated! :-)
I have one other thread open if you guys would get a chance to have a look into it! (Attached link)
You should really have an option on here to buy you guys a beer / coffee. Maybe that’s one for the feature requests haha ;-)
Thanks in advance!
Hi!
Yes, that should go to feature request – https://kriesi.at/support/enfold-feature-requests/ :)
Cheers!
Yigit
Done ;-)