[Resolved] Button hover gives text the color of link, how to change it to white?

Home Forums Support Button hover gives text the color of link, how to change it to white?

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

    When I hover over a button, the text becomes blue. This is the color of every link on my website so that’s correct.

    But i don’t want the color of the text to be blue on a button. I set the buttons settings to white as text color, but it doesn’t help.

    How can i fix this?

    #1509047
    David
    Staff
    Customer Support

    Hi there,

    i am not seeing that issue on your site – can you try clearing your browser cache? Or provide me a screenshot where i can see the button issue.

    #1518918
    Jarno

    I cleared my browser cache, but nothing changed.

    #1518982
    David
    Staff
    Customer Support

    Try adding this CSS:

    .wp-block-button__link:active, .wp-block-button__link:focus, .wp-block-button__link:hover, .wp-block-button__link:visited {
        color: #fff !important;
    }
    #1518987
    Jarno

    You’re a hero David! It works perfectly, just as it should do.

    Have a great day.

    #1519218
    David
    Staff
    Customer Support
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.