• Resolved meinsign

    (@meinsign)


    For my navigation links I want to have a hover effect with a thick blue underline. I added this with a customized CSS. But there is always the default thin, black underline from the Twenty Twenty-Four theme. How can I get rid of that?

    Thanks in advanced.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter meinsign

    (@meinsign)

    I already found the solution. You need to add this small CSS script:

    :root :where(a:where(:not(.wp-element-button))) {
    text-decoration: none;
    }

    Moderator janmtm

    (@janmtm)

    Hi @meinsign !

    Thank you for sharing your solution. 🙂

    This always helps others!

    I’ll go ahead and set this thread as ‘Resolved’ but feel free to open if you have any other questions.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Deleting the default underline’ is closed to new replies.