Archived topic
Underline links only in paragraphs, not in buttons
5 replies · Started by Lars on November 19, 2021
Hi there,
i've added some CSS to underline the links in my blog-postings:
.single-post .entry-content a {
text-decoration: underline;
}
But I want the underlines only in paragraphs, not in buttons and not in the aawp boxes (Amazon Products).
Is there a way to get the underlines only für paragraphs?
Thanks in advance
Lars
Hi there,
try this CSS:
.single-post .entry-content p a {
text-decoration: underline;
}
You are great, that worked. Thanks!
Glad to hear that!
Hey! I'm trying to do the same thing but this didn't work for me using GP and Elementor. We're trying to do something like this only in blog posts and selecting a specific color in this case #EBAB01 : https://imgur.com/V85Qs3U
Hi @Sebastián
This won't work for contents created within Elementor as elementor elements use its own selectors for applying styles.
Styling for contents created within Elementor should be styled within its page builder. (using its own CSS selectors if resorting to custom CSS) :)