• happywriter

    (@happywriter)


    My WP theme appears to have coded Heading 1 in 12 pt font like normal text. I manually change each heading to 14 pt. But then the text coding doesn’t say “h1” which Google robots look for. If I use tinymice plugin to change heading font sizes, will they still be labeled h1, h2, h3? Also, I don’t want to change fonts globally on pages already customized. Can I change the CSS stylesheet (how?) or apply the plugin to blog posts only? Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Farook Kholwadia

    (@judgerookie)

    For all h1 tags you could put CSS by going

    Dashboard >> Appearance >> Customise >> Additional CSS

    
    h1   {font-size: 14px;}
    
    Thread Starter happywriter

    (@happywriter)

    Is there anyway to do this only for blog posts?

    Thread Starter happywriter

    (@happywriter)

    so it doesn’t affect pages?

    Thread Starter happywriter

    (@happywriter)

    I tried it and it worked great. Thanks for this simple solution!

    Farook Kholwadia

    (@judgerookie)

    Glad it works, always tricky to give specific advice when there’s no URL to the site as can’t check in the browser inspector.

    If you ever need to apply something only to a specific case, then the following may be worth looking at:
    https://www.w3schools.com/cssref/sel_class.asp

    In your site, if you only want the h1 tag in the blog to be different, you would locate the class (for example .post-title) used and add CSS as folows:

    
    h1.post-title {font-size: 14px;}
    

    This would then only apply the change to h1 tags for ‘class’ post tiltle.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘changing blog post preset paragraph fonts’ is closed to new replies.