Home › Forums › Support › css code not working for h2 but for h3 only This topic has 7 replies, 2 voices, and was last updated 7 months, 1 week ago by David. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts August 17, 2022 at 5:28 am #2315467 Amit 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? August 17, 2022 at 5:30 am #2315469 Amit 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? August 17, 2022 at 5:45 am #2315475 DavidStaff Customer Support Hi there, the .article should not have the . – it should just be article Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ August 17, 2022 at 6:37 am #2315506 Amit it works now. How do I make this applicable only for a single post and not for the front page and archive page? August 17, 2022 at 6:49 am #2315516 DavidStaff Customer Support You would do this: .single-post h2, .single-post h3, .single-post h4 { your CSS properties here } Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ August 17, 2022 at 7:15 am #2315528 Amit 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 ? August 17, 2022 at 7:32 am #2315542 Amit I figured it out in customizer. Thanks. I am marking this as closed. Thanks a ton for the support. August 17, 2022 at 7:35 am #2315547 DavidStaff Customer Support Glad to be of help Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In