• Resolved salvatore1986

    (@salvatore1986)


    Hi to everyone. I’m using neve with elementor, and all is updated. All the links are not underlined, but if I try to change the theme, they become underlined, so the problem is related to the neve theme. I’ve already tried to remove al the custom css, but nothing changed. If I add: a {text-decoration: underline!important;} the problem will be fixed but also the buttons will beocme underlined. How I can fix this? Thanks a lot

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @salvatore1986,

    Thank you for reaching out and using Neve theme.

    The Neve theme doesn’t show underline by default. Please try the following code to show underline on links except buttons.

    a {text-decoration: underline;}

    Hope it helps. Let us know how it goes.

    Thread Starter salvatore1986

    (@salvatore1986)

    @poonam9 If I add that code, the buttons and the menu will become underlined too. How I can prevent this? Thanks

    Hi @salvatore1986,

    I have tried the same code, and it’s not affecting the button links. Please make sure you have not added “important” in the code. If you still get it, please share the URL so we can take a closer look.

    To exclude the nav menus, we can modify the code like this:

    a:not(.nav-ul li > .wrap a) {
        text-decoration: underline;
    }

    Let us know how it goes.

    Thread Starter salvatore1986

    (@salvatore1986)

    @poonam9 the only code the work is a {text-decoration: underline!important;}, if I add just a {text-decoration: underline;} it doesn’t work. The other codes doesn’t work, Thanks

    Kush

    (@kushnamdev)

    Hey @salvatore1986

    In CSS, the “!important” declaration is used to give priority to a specific style rule, overriding any other conflicting styles. When added to a CSS property, “!important” ensures that the specified style rule is applied to the element, even if it conflicts with other styles that are defined with lower specificity or are located further down the cascade.

    That’s the reason when you use the following code it overrides the existing code and has a higher priority.

    a {text-decoration: underline !important;}

    I hope it helps.

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘missing underline for links’ is closed to new replies.