Support » Fixing WordPress » Change color when hovering over link-text

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Hi @marccuypers, You can control this with CSS.

    In the “Custom CSS” part of the dashboard, try adding this code and saving:

    
    a:hover {
        color: #f00 !important;
    }
    

    https://codex.wordpress.org/CSS#Custom_CSS_in_WordPress

    Unfortunately you need to add “!important” in the code because inline styling has been used on the links. For instance, the “gehoorzaamheid” link has the following inline styling:

    
    <a style="color: #000080;" ...
    
    Thread Starter marccuypers

    (@marccuypers)

    Hello Andrew,
    I tried it and it works perfectly. Many thanks for your quick response.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change color when hovering over link-text’ is closed to new replies.