Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #889422

    Hi,
    how can every menuitem of my mainmenu get a seperate color? Which css code is needed?

    • This topic was modified 6 years, 11 months ago by aisukei.
    #889520

    Hey aisukei,

    You can use code like this in Quick CSS, this will target your first menu item:

    #menu-item-744 .avia-menu-text {
      color:yellow !important;
    }

    Inspect the other ones in your browser to find out their IDs.

    Best regards,
    Rikard

    #889549

    ive put this on my css but it doesnt change the color. What could be the reason?

    #889561

    Hi aisukei,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    #top #wrap_all .header_color #menu-item-744.av-menu-button-colored>a .avia-menu-text {
    	color: yellow;
    }
    

    Can you disable the Autoptimize plugin while we’re helping you?

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #889766

    I have deactivated autoptimize. With this css code there is a change but its only the textcolor not the buttoncolor.

    Best regards

    #889834

    Hi,
    If I understand correctly, you would like the background-color of the button yellow, try this css:

    #top #wrap_all .header_color #menu-item-744.av-menu-button-colored>a .avia-menu-text {
    	background-color: yellow!important; 
            color: red !important;
    }

    I made the text color red so you can see it, adjust to suit.

    Best regards,
    Mike

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