Site logo

Archived topic

css code not working for h2 but for h3 only

7 replies · Started by Amit on August 17, 2022

Viewing posts 1–8 of 8

another issue I am facing is, that I have changed the link color to match the theme, but now even the home page/ front page links have also changed.

How can I keep the link color scheme of category/front page same but keep the post link color scheme as is ?
is it possible?

Hi there,

the .article should not have the . - it should just be article

it works now. How do I make this applicable only for a single post and not for the front page and archive page?

You would do this:

.single-post h2,
.single-post h3,
.single-post h4 {

 your CSS properties here

}

worked like a charm. Thank you so much for that.

can I do something about the link color as well. I change the link color in customizer and that changed the link color in front page and category as well. I would like to apply the link color scheme only to single-post.

Is there a workaround for that as well ?

I figured it out in customizer. Thanks. I am marking this as closed. Thanks a ton for the support.

Glad to be of help

This archived topic is closed to new replies.