- This topic has 5 replies, 2 voices, and was last updated 3 years, 11 months ago by
Movin.
- AuthorPosts
- December 15, 2015 at 11:49 am #38576
ngoeke
ParticipantHi,
I must’ve messed up my CSS previously to remove underlines from some of the links. Now I have to underline all my links by hand.
I found an option to underline ALL links (including the ones in the header menu, tags, etc.), but I don’t like that.
I just want all of the links in my text (posts and pages) to be underlined automatically, both in the text and when highlighted (hover).
Is there an option to enable this?
Thanks so much!
December 16, 2015 at 8:52 am #38831Movin
ModeratorHi @ngoeke,
I hope you are well today and thank you for your question.
You can try achieving this by adding the following CSS code in the Custom CSS option of the latest version of Sparkling theme on the below path.
Admin Area -> Appearance -> Customize -> Sparkling Options -> Other -> Custom CSS
.entry-content a { text-decoration: underline; }
Best Regards,
MovinDecember 17, 2015 at 6:04 am #38943ngoeke
ParticipantThanks, this helps! One thing though: Now also the “Read More” buttons are underlined, they weren’t before, any way to separate this and not have those underlined?
No worries if not!
December 17, 2015 at 8:41 am #38945Movin
ModeratorHi @ngoeke,
To achieve this try using the following CSS code instead of previously provided code.
.entry-content a { text-decoration: underline; } .entry-content .btn.btn-default.read-more{ text-decoration: none; }
Best Regards,
MovinDecember 17, 2015 at 9:07 am #38955ngoeke
ParticipantPerfect! You are great! Thanks!
December 17, 2015 at 12:55 pm #38980Movin
ModeratorYou are most welcome here 🙂
- AuthorPosts
- The topic ‘How can I underline links in posts?’ is closed to new replies.