Main Navigation Menu color

  • Posted in : Read WP
  • mooco
    Participant

    Hello,

    Hello,

    I ‘d like to change the color of the main navigation menu.

    I’m able to change font size

    .main-navigation { font-size: 2em;

    but adding font-weight and color attribute, it doesn’t work (it still works the font size, but not the color and weight)

    any suggestion is welcome

    thanks in advance

    Mehmet S.
    Keymaster
    .main-navigation ul li a { color: green; }
    
    mooco
    Participant

    thanks a lot !!!

    martinbeebee
    Participant

    This seems to only work for Pages listed in the main menu; if I add a Category to the menu, the new style (whether typed into the custom CSS box or chosen using the customize window) is not honored, and the default (#C30) color is used. So for Page menu items, the active color is green, and Categories is orange.

    Is there any way to override this behavior, or do I need to change the stylesheet directly (looks like line 83 in main.css)?

    Also, when I add a Home page link to the main menu, it doesn’t change color at all.

    Thanks.

    Mehmet S.
    Keymaster

    Paste to Theme Options > Style > Custom CSS:

    .main-navigation ul .current-menu-item > a { color: green; }
    

    – Thanks for the feedback.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register