This topic contains 2 replies, has 2 voices, and was last updated by  barburim 2 years, 5 months ago.

change specific menu link color

  • Hi, how do i change a specific link’s text color (without changing all the rest)?

    thanks

    Attachments:
    You must be logged in to view attached files.

    Hello there,

    Thank you for asking.

    Firstly you should need to edit the menu item you wish to has different text color. Go to Appearance > Menus. Expand your selected menu item. Then in the CSS Classes field, give a unique class name. Example: my-class

    To change its color, use the following CSS code.

    .my-class > a{
        color: red !important;
    }
    

    I hope this reply helps.

    Regards,
    Kharis

    Attachments:
    You must be logged in to view attached files.

    Thanks. it worked!

The topic ‘change specific menu link color’ is closed to new replies.