Underline everything but buttons

Hello,

I followed some advice on another topic here (Underline links (but not buttons)), but can’t get to seem to work at all.
See the sample page here for a button:
https://wetried.it/beats-vs-airpods/

I tried using this CSS
.entry-content.content a:not(.wp-block-button) {
text-decoration: underline !important;
}

HI @chiphanna,

Thanks for reaching out.

I just check your website and on that page the content is already underline. If that’s not what your pointing at, please provided more information about the underline.

Hope that helps.

Thank you.

Howdy, I want all links to be underlined EXCEPT in the buttons.

Hi @chiphanna,

Add this CSS code in theme option’s CSS to underline all links.

.entry-content.content a {
    text-decoration: underline !important;
}
.x-anchor-text-primary{
    text-decoration: none !important;
}

The purpose of providing the custom CSS to show you how to add CSS code to your site. Writing custom CSS is outside the scope of our theme support. If you need more customization, you need to learn CSS and learn how to use the browser’s element inspector.

Hope it helps you.
Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.