Site logo

Archived topic

Underlining links with Elementor

5 replies · Started by Jake on August 16, 2019

Viewing posts 1–6 of 6

Hello,

I've used the following code to underline my website's hyperlinks:

}
.entry-content a {
text-decoration: underline;

It worked until I implemented the sitewide Elementor single page template. I've noticed to change the hyperlink colour I have to go to 'body' instead of 'content' now, so not sure if this has something to do with it.

Please could you let me know how I override this? (I've tried !important and swapped '.entry-content' with '.entry-body', but nothing)

Thanks!

Hi there,

you may want to ask Elementor how best to do this. But if you can share a link to your site we can take a look and see what CSS you require.

Hi David,

https://stridedigital.com/contact/

The email and phone number are links but supposed to be underlined. If this is an Elementor matter let me know and I'll contact them.

Thanks!

You can see that Elementor is setting the links to text-decoration: none;:
https://www.screencast.com/t/qPcq91C0

It will need to be changed to text-decoration: underline;.

Their support should be able to help you out if you aren't sure how to.

Ah yes - I've sorted it. Thanks :)

No problem :)

This archived topic is closed to new replies.