Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1121234

    I am trying to make my main menu so that when i rollover an item in the main menu the text goes green. i also want the text to stay green on the current page.

    but i want the text on the drop down sub menus to stay white (as the background is green on their rollovers)

    i couldnt see how to do this in the basic menu configurations so am assuming i need some custom code?

    thanks for your help.

    #1121905

    Hey benhasler,
    Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    .header_color .main_menu ul:first-child > li.current-menu-item > a,.header_color .main_menu li.menu-item-top-level:hover > a  {
    color: #47cbaa !important; 
    }
    .header_color .main_menu ul.sub-menu li.dropdown_ul_available:hover > a  {
    color: #fff !important; 
    }

    Best regards,
    Mike

    #1121934

    perfect thanks!

    #1122085

    Hi,

    Great, I’m glad that you got it working. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.