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

    Hello,

    I would like to change the text color of a menu-item. I made a custom css class in the menu editor for this item and use the following code:

    /* Elektrisch laden menuknop groen */
    .elektrischladen {
     color:green;
     background-color: green;
    }

    The background color changes but not the color of the word itself. What am I missing here?

    #1347358

    Hey EricSmeets,

    Try using this CSS code:

    #top .elektrischladen {
        color: green;
        background-color: green;
    }

    if that still does not work, please use this instead:

    #top .elektrischladen {
        color: green !important;
        background-color: green;
    }

    Best regards,
    Nikko

    #1347369

    Thanks Nikko, but unfortunately both options don’t work. Any other ideas?

    #1347394

    Hi,

    Where can we see the element in question?

    Best regards,
    Rikard

    #1347400

    Yes of course.

    #1347412

    Hi,

    Thanks for that. Please try this CSS instead:

    .elektrischladen .avia-menu-text {
      color: green; 
    }

    Best regards,
    Rikard

    #1347422

    Perfect! Thanks!

    #1347430

    Hi,

    Great, I’m glad that we could help. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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