Hello!
We are using the transparent glassy header.
In advanced options I set the menu background-on-hover to be a color.
This background-on-hover color only displays after scrolling when the header becomes opaque.
Is there a way for this menu background-on-hover to display when using the transparent glassy header?
Additionally, can this background-on-hover have an opacity setting?
thank you so much!
Hey doug123,
Could you post a link to where we can see the element in question please?
Best regards,
Rikard
Sure thing – thank you!
Hi,
Thanks for that. Please try the following in Quick CSS under Enfold->General Styling:
.av_header_transparency nav.main_menu li:hover {
background-color: #8ad3f2;
}
Best regards,
Rikard
Thanks Rikard!
Yes that works.
but the text of the menu link disappears. I tried adding color but that didn’t work-
.av_header_transparency nav.main_menu li:hover {
color: #00000 !important;
background-color: #8ad3f2;
}
Also, is there a way to change the background-on-hover opacity?
Hi,
Please add the following code to Quick CSS as well
#top #header.header_color.av_header_transparency .av-main-nav > li > a:hover .avia-menu-text {
color: white;
}
You can use following code and adjust the opacity level of the background
.av_header_transparency nav.main_menu li:hover {
color: #00000 !important;
background-color: rgba(138, 211, 242, 0.6);
}
138, 211, 242 is the RGB value of the color and 0.6 is opacity level :)
Best regards,
Yigit
Thank you SO much! Perfect!
All the best,
Doug