Site logo

[Resolved] change menu Item color

Home Forums Support [Resolved] change menu Item color

Home Forums Support change menu Item color

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2400264
    Stefan

    Hi,
    how can I change the background color of a menu item individually while selected or hovered? the problem is, every single menu item shall get a specific color.
    Thanks for help 🙂

    #2400310
    Leo
    Staff
    Customer Support

    Hi there,

    Would this solution work?
    https://docs.generatepress.com/article/adding-buttons-navigation/

    Let me know 🙂

    #2400363
    Stefan

    Hi,
    thanks for the solution but I still have the button navigation. Now I need a solution for changing the color when I hover or select the buttom.

    #2400365
    Leo
    Staff
    Customer Support

    Any chance you can link us to the page in question?

    You can use the private information field:
    https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    Let me know 🙂

    #2400367
    Stefan

    sure. link and user should be in private information

    #2400377
    Leo
    Staff
    Customer Support

    This selector should work for the hover:
    .main-navigation .main-nav ul li.nav-button1:hover

    And this should work for the current:
    .main-navigation .main-nav ul li.nav-button1[class*="current-menu-"] > a

    #2400399
    Stefan

    The selector is exactly what I need. Thanks a lot

    #2400491
    Leo
    Staff
    Customer Support

    No problem 🙂

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