Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #533138

    Hello,

    I’m trying to change the background color and the font color of the current menu.
    I figured out a way to do this for the hover option but not for current page.

    Screenshot

    this is the code i tried using:

    .av_seperator_big_border#header .av-main-nav > li > a  .current-menu-item a {
        background-color: #005028!important;
        font-color: #ffffff;
    }
    
    #533288

    Hey Arthith!

    Please try adding 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 {
        background-color: #005028!important;
        font-color: #ffffff!important;
    }

    Please make sure that > sign is not converted to – http://i.imgur.com/IDXRZQ3.png in Quick CSS field.

    If that does not help, please post the link to your website

    Best regards,
    Yigit

    #533312

    Hey Yigit,

    Thanks man, that did the trick but i still can’t see the fonts in white

    ss

    Cheers

    #533320

    Hey!

    Please add following code to Quick CSS as well

    .header_color .main_menu ul:first-child > li.current-menu-item > a, .header_color .main_menu ul:first-child > li.current_page_item > a > .avia-menu-text {
        color: white!important;
    }

    P.S.: I copied your code for background and font color to get the correct color values but “font-color” is invalid. Please use “color” instead.

    Regards,
    Yigit

    #533324

    Oh okay, thank you! it’s working now :)

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Current Menu Background Coloring’ is closed to new replies.