Tagged: CSS
I’m using this quick CSS to underline links in the body area of my site:
.avia_textblock p a, .avia_textblock li a, {
text-decoration:underline !important;
}
I would also like links in my footer and an accordion to be underlined. What code can I add to make that happen?
Thanks!
Hey reesm2,
Could you post a link to the site in question please?
Best regards,
Rikard
Hi,
Thank you for the info.
Please add this css code to underline every link in the footer container:
#footer a {
text-decoration: underline;
}
Best regards,
Ismael
Thanks Ismael,
That code worked. My Quick CSS box now looks like this:
.avia_textblock p a, .avia_textblock li a, {
text-decoration: underline;
}
#footer a {
text-decoration: underline;
}
The code to underline links in paragraphs and lists in the main area no longer works. Can you please advise what I need to change?
Hi,
Try to include this css code to underline every links in the main container:
#top .entry-content-wrapper a:where(:not(.wp-element-button, .avia_iconbox_title, .avia-button)) {
text-decoration: underline;
}
Best regards,
Ismael
Thanks Ismael – that achieved exactly what I needed!
Hi,
Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
This topic can be closed. Thanks!
Hi,
Thanks for letting us know. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard