How to change the color of the text of only one menu item?

  • Author
    Posts
  • #1992455

    uscienceinfo
    Member

    HI I would like to know what would be the CSS code to change the text color of only one menu item on the left side-bar of the twenty fourteen theme. I have been able to change the background-color by assigning that menu item a css class and then changing the background-color. But for the text color it doesn’t seem to work.

    I am currentlyt using this:

    .class
    {
    color: black;
    }

    Please Help!

    The blog I need help with is uscience.info.

    #1992541

    wpgaurav
    Member

    Your problem relates with WordPress.org. You can ask for support on this topic at http://wordpress.org/support/
    Read the difference between WordPress.com and WordPress.org : http://en.support.wordpress.com/com-vs-org/

    PS: You can attach !important next to color:black command.

    .class {
       color: black!important;
    }

The topic ‘How to change the color of the text of only one menu item?’ is closed to new replies.