[Resolved] css code not working for h2 but for h3 only

Home Forums Support [Resolved] css code not working for h2 but for h3 only

Home Forums Support css code not working for h2 but for h3 only

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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?

    #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?

    #2315475
    David
    Staff
    Customer Support

    Hi there,

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

    #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?

    #2315516
    David
    Staff
    Customer Support

    You would do this:

    .single-post h2,
    .single-post h3,
    .single-post h4 {
    
     your CSS properties here
    
    }
    #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 ?

    #2315542
    Amit

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

    #2315547
    David
    Staff
    Customer Support

    Glad to be of help

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.