Hi
I would like to change the color of the menu items when selected, as well as the line below (from black to #5d609d)
not sure where to change that…
thaaaanks
Delia
Hi libelum!
Please add following code to Quick CSS
.header_color .main_menu ul:first-child > li.current-menu-item > a, .header_color .main_menu ul:first-child > li.current_page_item > a {
color: #5d609d !important;
}
.current-menu-item > a > .avia-menu-fx {
background-color: #5d609d !important;
}
Best regards,
Yigit
Hi Yigit
thank you so much, it works!
but I’m afraid I used the wrong words.. I said “when selected” I also wanted to say “on hover” (when mouse goes on)
so the code you gave is perfect, now will be missing the color change for “on hover” (when mouse goes on)
sorry about that!!! :(
thaanks
Delia
Hey!
No worries at all :)
Please change following code
.current-menu-item > a > .avia-menu-fx {
background-color: #5d609d !important;
}
to following one
.avia-menu-fx {
background-color: #5d609d !important;
}
And then go to Enfold theme options > Advanced Styling and edit “Main menu links” and make sure to check “Apply only to mouse hover state”
Best regards,
Yigit
Thank you Yigit :)
ok, when selected works perfect, but when mouse hover
menu item remains in black and part of the line (that covers the whole submenu box) is black as well
thaaanks
Hi!
Please add following code to Quick CSS in that case
.html_header_top .header_color .main_menu ul:first-child >li > ul, .html_header_top #top .header_color .avia_mega_div > .sub-menu {
border-top-color: #5d609d !important;
}
.header_color .main_menu ul:first-child > li a:hover {
color: #5d609d !important;
}
Best regards,
Yigit
now its perfect!
thank you so much!
solved
Delia