Archived topic
How Do I Change the Link Color on Archive/Category Page
11 replies · Started by RJ on August 14, 2019
Hey there - I'm trying to change the color of the hyperlink H2 color on my archive/category pages. But can't figure out how to do this.
I want this:
https://www.eatweeds.co.uk/category/plants
https://www.eatweeds.co.uk/blog
To look like this:
https://www.eatweeds.co.uk/plants
TIA, Robin
Hi there,
do you want it to have the list style with the bullet point before it?
Yes that would be great David. Thanks.
Try this CSS:
.blog .entry-title, .archive .entry-title {
display: list-item;
list-style-type: disc;
list-style-position: inside;
}
.blog .entry-title a, .archive .entry-title a,
.blog .entry-title a:visited, .archive .entry-title a:visited {
color: #d43c67;
}
Thanks, but it puts a bullet next to my blog title (H1), see:
https://www.eatweeds.co.uk/alexanders-smyrnium-olusatrum
and the title of my Home Page, see:
https://www.eatweeds.co.uk/
I updated the CSS above - should fix that.
Nope, that didn't work. Still the same.
What's code if we don't use bullets?
Oh dear - having one of those days lol - edited again so it will only apply to blog and archives. The first block of CSS is what adds the bullet point.
Rockstars are allowed "one of those days" 😀
Cheers... that worked. Hurrah!
Bye for now, and thanks again.
haha - i think its just my age :)
Glad to be of help.
Join the club mate!
I feel like a founding member lol