WordPress.org

Ready to get started?Download WordPress

Forums

Responsive
Each menu item different color, hover and current state style (2 posts)

  1. yerb
    Member
    Posted 1 year ago #

    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

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Probably:

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic