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.
@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.
@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
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