Archived topic
css code not working for h2 but for h3 only
7 replies · Started by Amit on August 17, 2022
https://toddlerjunction.com/staging/13-effective-ways-to-teach-social-skills-to-your-kids-at-home/
I have added the CSS code to be applicable to H2,h3,H4,H5,H6 but for some reason, it's only working for H3.
the code is added in the code area. could you please check what am I doing wrong?
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