WordPress.org

Support

Support » Themes and Templates » Each menu item different color, hover and current state style

Each menu item different color, hover and current state style

  • Hi,

    I managed to get each menu item a different color style with adding this to child style.css:

    .menu-item-21{
    	background-color: #f59122;
    
    .menu-item-20{
    	background-color: #4e8dc0;

    and so forth..

    Now I also need different color style for hover and current state. Please advise on how to do that.

    thanx

Viewing 1 replies (of 1 total)
  • Moderator Andrew Nevins

    @anevins

    Forum moderator

    Probably:

    .menu-item-21:hover{
    	background-color: #f59122;
    }
    .menu-item-20:hover{
    	background-color: #4e8dc0;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Each menu item different color, hover and current state style’ is closed to new replies.