• Resolved ngaisteve1

    (@ngaisteve1)


    I would like to have a different color for just a particular menu. Example for my website, https://www.akusihat.com, I just want the “Health Stories” to be different color and the rest of the menu remain gray color. Is this possible?

Viewing 4 replies - 1 through 4 (of 4 total)
  • just use this CSS :

    .menu-item-44 a {
    color : red;
    }

    just change the color name to the one you want.

    Thread Starter ngaisteve1

    (@ngaisteve1)

    add this at the bottom of the css? I tried but not working. How do you know 44 is my second menu?

    If you are not using a child theme then start now:
    creating a child theme https://codex.www.ads-software.com/Child_Themes

    Then you would be ading your customising code like this into the style.css file

    How do you know 44 is my second menu?

    Because you had the good sense, and good grace to include a link to your website, and also you were specific about which item you want targeted.
    Then we can use a browser inspector (like firebug) to view your pages html and css, identify the menu item, and copy/paste the class name.
    Suggest that you install and use a browser inspector, there is one for every browser.

    Thread Starter ngaisteve1

    (@ngaisteve1)

    thanks. found the solution already

    #menu-item-44 a {
    color: #FF0000;
    }

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unique menu color’ is closed to new replies.