Edit Link Hover to Toggle Underline

  • Unknown's avatar

    I’m using the Stanley theme and new to WordPress and CSS. I’d like to customise how how links appear when you hover over them and have figured out how to change the colour on hover, but would actually like the colour to stay the same but for the underline to disappear. Is there something I’m missing in the style editor or a way to add this into custom CSS?

    The blog I need help with is: (visible only to logged in users)

  • Hi there,

    To remove the underline from links and keep the color the same when you hover over them, you can use the following CSS code:

    a:hover {
    text-decoration: none;
    color: #C14420;
    }

    Let me know if this works or if you need further assistance. I’m here to help.

  • Unknown's avatar

    Thank you for this, worked perfectly!

  • The topic ‘Edit Link Hover to Toggle Underline’ is closed to new replies.