Your sites Log in Sign up Menu

Changing the color of links on the Magazine template?

I'm using a magazine template for my content. But I've noticed that when I add a link, the text color doesn't change even though the text gets underlined. I want the linked text to have a different color so readers can easily see it's a clickable link to another page or website. How can I make that happen?


9 months ago, 3 replies   magazine-template   Improve this question

If you fork an editable copy of the magazine template, you should be able to modify the CSS which changes the link color. The line in question is in the template file style.css, on line 202. Please let me know if you have any questions about this or anything else

Answered 9 months ago · Improve this answer

I noticed that when I made modifications, all the links on the webpage, including the tag in the upper-right corner and the links under the search bar, were altered. However, my intention was to only change the in-text links (links within the post).

Answered 9 months ago · Improve this answer

Then you need to scope your CSS changes to a class which only appears on the container for posts, e.g. .entry. Add something like this below the existing rule which styles links on your site:

.entry a:not(.no-underline) { .... }
Answered 9 months ago · Improve this answer