Log in Sign up

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?


a year ago, 3 replies   magazine-template   Edit 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 a year ago · Edit 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 a year ago · Edit 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 a year ago · Edit answer