Hi,
I would like to remove the link underline from some text, but not from all the links.
For example:
Telefono: 031 805 3185 (ok with underline)
Homepage (link, but without underline)
https://www.dropbox.com/s/g9d8xg56ngvr268/Screen%20Shot%202023-06-30%20at%2012.43.25.png?dl=0
Hi tcampaner,
You can set the links not to have a line and then add this CSS code in Enfold > General Styling > Quick CSS to add underline to telephone links:
#top #wrap_all a[href^="tel:"] {
text-decoration: underline;
}
Hope it helps.
Best regards,
Nikko
Hi Nikko,
I did not express myself correctly; I apologise for that.
I would like to keep the texts that have hyperlinks with underline, but in some exceptions I would like to remove the underline. Is there a code or something that I can add to that specific piece of text?
Thank you!
Hi,
Thanks for the clarification. You can add a class to the elements where you want the links not to be underlined, for example no-underline. You can add the class in the Advanced tab in the element options, then you can add this to Quick CSS:
.no-underline a {
text-decoration: none !important;
}
Best regards,
Rikard
Hey Rikard,
Thank you very much! This is exactly what I needed!
Warm regards,
Oana
Hi,
Glad Rikard could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike