Site logo

[Support request] change color of 1 menu page

Home Forums Support [Support request] change color of 1 menu page

Home Forums Support change color of 1 menu page

  • This topic has 1 reply, 2 voices, and was last updated 3 years ago by David.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2569619
    Ainara

    Hello, I would like to know if there is any way to highlight a page in the menu, changing its color unlike the rest, I have been looking at the menu options and it won’t let me, when I change the general color obviously the color of all the pages is changed pages and I want to know if there is any way (taking into account that I have the premium version of Generate press) to change the color of only one page, to highlight it.

    #2569745
    David
    Staff
    Customer Support

    Hi there,

    you would use some CSS.

    1. In Appearance > Menus, enable the CSS Classes and give the menu item a CSS class eg. custom-menu
    See here:

    https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#custom-classes

    2. Then you can add this CSS to your site:

    .main-navigation .main-nav ul li.custom-menu a {
        color: #f00;
    }

    To set the custom-menu items colors.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.