Hi Enfold team!
I am using the following code to underline ALL links on my site (for WCAG compliance):
#main a,#main .sidebar a,#footer a,#socket a, #main p a {
text-decoration: underline !important;
}
a.avia-button,a span.avia_iconbox_title,#top .av_font_icon a.av-icon-char {
text-decoration: none!important;
}
Problem is it’s underlining my buttons. I’ve tried the following code to keep that from happening but it’s not quite working:
.avia-button {
text-decoration: none!important;
}
Thank you in advance!
Hey kellyCraftMedia,
You are already using !important in the arguments for #main a for instance, try removing that bit to see if it helps.
Best regards,
Rikard
Hi again,
Or you could try using the :not selector: https://www.w3schools.com/cssref/sel_not.asp
Best regards,
Rikard
Hi Rikard!
Removing the !important argument from #main worked! Only one problem left that I’ve just realized: The social media icons in the footer are now underlined partially. I’m looking into my Quick CSS code but if you have a quick fix, that’d be great!
Thank you!
Hi,
Please try this CSS as well, you might have to use !important if it doesn’t work:
.footer_centered a {
text-decoration:none;
}
Best regards,
Rikard
Worked by adding the important argument.
THANK YOU!
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon