Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #152818
    roboterpirat
    Participant

    Hey there,

    I don’t know what I’m doing wrong, but it seems like I can’t change the hover color of the menu. When I tried to change the background-color it worked perfectly:

    .nav-menu li a:hover
    {
        background-color: #0000FF;
    }

    But I only wanted to change the text color. So I tried:

    .nav-menu li a:hover
    {
       color: #0000FF;
    }

    Which does not work at all. What am I doing wrong? Can you please help me?

    Link to my site: https://sostegisch.com/

    Thanks in advance,
    Alex

    #152849
    Skandha
    Participant

    @roboterpirat: Go to => Appearance => Customize => Additional CSS and add the following CSS Code.

    .nav-menu li a:hover {
         color:red !important;
    }

    Let me know if this works out!
    Kind Regards,
    Skandha

    #152853
    roboterpirat
    Participant

    Yeah, adding the !important did the trick. Thank you very much!

    #152860
    Skandha
    Participant

    @roboterpirat: Hello there, I hope I was able to resolve your issue. If it’s not too much trouble, I have a quick request: could you please leave an honest review?
    https://wordpress.org/support/theme/clean-fotografie/reviews/#new-post
    Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely appreciated. Thanks, and if there’s anything else at all that I can do to help,
    don’t hesitate to let me know. Have a good day! 🙂

    Kind Regards,
    Skandha

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Custom CSS: Menu text change hover color’ is closed to new replies.