-
AuthorPosts
-
September 22, 2015 at 2:41 pm #507073
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
DeliaSeptember 22, 2015 at 3:11 pm #507100Hi 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,
YigitSeptember 22, 2015 at 3:26 pm #507119Hi 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
DeliaSeptember 22, 2015 at 3:30 pm #507125Hey!
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,
YigitSeptember 22, 2015 at 3:49 pm #507148Thank 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 wellthaaanks
September 22, 2015 at 3:54 pm #507151Hi!
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,
YigitSeptember 22, 2015 at 3:58 pm #507156now its perfect!
thank you so much!solved
Delia
-
AuthorPosts
- The topic ‘Color modification’ is closed to new replies.
