Hi,
I’m trying to make my links (On Pages & Posts) underlined but the various CSS fixes I’ve tried won’t work.
[Link to sample page below.]
Thanks
Stephen
Hey Stephen,
Please try the following in Quick CSS under Enfold->General Styling:
#main a {
text-decoration: underline;
}
Best regards,
Rikard
Thanks Rikard.
It seems not to have worked though.
Not sure where the problem is…
Stephen
Hi,
Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
Rikard
Hi,
before the latest Enfold update I was able to underline links with this css code:
a:link, a:visited {
text-decoration: underline;
}
That doesn’t work anymore. The new code you posted above does work. However, it also underlines Button links which doesn’t look good at all. How can I exclude buttons?
Thanks
Patrick
Hi,
Could you post a link to where we can see the buttons which you want to exclude please?
Best regards,
Rikard
Hi Rikard,
here I use several buttons: https://www.stadtfuehrung-auf-deutsch.de/amsterdam/
It’s the same on other websites (right now links are not underlined on other websites) where I use the same button.
Best,
Patrick
Hi,
Thanks for that. Please try to replace the previous CSS I sent, with this:
#main a {
text-decoration: underline;
}
.avia-button-wrap a {
text-decoration: none;
}
Best regards,
Rikard
Hi Rikard,
thanks! But it doesn’t work. It still looks like before (button text is still underlined).
Best,
Patrick
Hi,
Please try this CSS instead:
#main a {
text-decoration: underline;
}
.avia-button-wrap a {
text-decoration: none !important;
}
Best regards,
Rikard
Hi Rikard,
that works well :-)
Thanks a lot!
Cheers,
Patrick
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