Remove underline from hyperlinks
-
I don’t want want my hyperlinks to be underlines. Instead I want them to appear as a different colour only. After 2 hours of research, the answers I found were either outdated and/or too ambiguous to make sense of.
How can I go about achieving hyperlinks that are a different colour and are NOT underlined?
WP.com: Yes
Correct account: yesThe blog I need help with is: (visible only to moderators and staff)
-
This depends on the theme you have selected. Some display the links with an underline, while others don’t.
-
This depends on the theme you have selected. Some display the links with an underline, while others don’t.
So I’m kind of at the mercy of the theme?
-
So I selected a blank theme, and I see I have the option to edit the html code of hyperlinked texts. In that code I found the style attribute that sets the text to underlined, but even after editing or removing that style attribute, the hyperlink is still underlined.
Since this is a blank theme, I’d imagine this would give me the freedom to customize hyperlink styles as I see fit? If so, how would I go about it given what I already tried above has failed?
-
So I selected a blank theme, and I see I have the option to edit the html code of hyperlinked texts. In that code I found the style attribute that sets the text to underlined, but even after editing or removing that style attribute, the hyperlink is still underlined.
Since this is a blank theme, I’d imagine this would give me the freedom to customize hyperlink styles as I see fit? If so, how would I go about it given what I already tried above has failed?
Disregard, I figured it out (simple mistake really). I was placing my style attribute
style="text-decoration: none;"in the <p> tag instead of the tag. After doing the latter I was able to remove the underline -
Hello there,
Many thanks for getting back to us.
You wouldn’t needn’t need to change any HTML to achieve that.
You could instead the paragraph options as seen here:

- The topic ‘Remove underline from hyperlinks’ is closed to new replies.