• Resolved OB

    (@reburton3941)


    I want to change the header fonts in the posts and pages but only there. I think I know how to change the font, color and size but I’m struggling to determine how to apply what I know. I tried amongst other code from forum examples:

    h1 {font-family: Times New Roman, Garamond, Lucida, serif;
         font-size: 2em;
         padding:0;
         margin:0; }
    }

    I applied similar code for H2 and H3 but the only thing that changed was the H1 and that had the unwanted side- effect of changing the title (white on black) over the Post. The H2 and H3 remained the same.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter OB

    (@reburton3941)

    Well, I’ve learned to live with my h1 but I still want to change my h2 and h3 in the posts and pages content only. I don’t really have any problem with the code to change the styles itself. I just need to know how to apply it where I want it.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You might need to be more specific with your CSS selectors. Can you link to an example of the H2 and H3 headings you’re trying to style?

    Thread Starter OB

    (@reburton3941)

    Yes, I can be more specific if I only knew where and how to start the code to apply it to the areas I want it changed. They are the posts and the content of the pages. My website is https://www.bestmenswatchesreviews.com

    I have a child theme and I’m using Custom CSS Manager for my CSS changes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I've been trying unsuccessfully to change H1, H2 and H3’ is closed to new replies.