Support » Theme: Coraline » Font Size

  • Resolved Deborah Delin

    (@deborahdelingmailcom)


    I don’t know if it’s just this theme or if it’s general to WordPress, but what is defined as font size 10px seems to be bigger than 10px on other sites.

    Why is this important to me? My website looks best in 8px. But I’m afraid to change the font to 8px on the site as I have read reports of sites which had trouble advancing in Google with fonts smaller than 10px.

    This is the site in question. The font is set as 10px.

    Whereas on this non-Wordpress site the font is apparently 12px but looks much smaller – and much more compact and professional.

    Is there a way of making the font smaller in the posts and pages, without specifying it in terms of font size? Or any other suggestions would be appreciated.

    Thanks so much for your input.

    Deborah

Viewing 7 replies - 1 through 7 (of 7 total)
  • your font is 10pt, not 10px.

    I wouldn’t recommend anything smaller than 14px. I generally use 16px.

    Moderator Kathryn

    (@zoonini)

    Automattic Happiness Engineer

    your font is 10pt, not 10px.

    Good catch, Janet! pt (points) are a unit only meant for print work, not web.

    Deborah Delin

    (@deborahdelingmailcom)

    Oh!! I hadn’t picked up on that!! In my text editor the font size is set in pt and not px. How strange!!

    I tried this code I found to change the tinyMice editor to use px, in functions.php, but it didn’t work for me:

    function customize_text_sizes($initArray){
       $initArray['theme_advanced_font_sizes'] = "10px,11px,12px,13px,14px,15px,16px,17px,18px,19px,20px,21px,22px,23px,24px,25px,26px,27px,28px,29px,30px,32px,48px";
       return $initArray;
    }
    
    // Assigns customize_text_sizes() to "tiny_mce_before_init" filter
    add_filter('tiny_mce_before_init', 'customize_text_sizes');

    If anyone has an idea as to how I can change the editor to use px instead of pt I would be very grateful.

    Thank you Janet and Kathryn for helping me understand. Now at least I can have my font set at 10px. Actually I’ve set the home page at 11px and I really like it but I’d love your opinions as to whether it’s too small as Janet mentioned using 16px which sounds huge!

    The font size is going to vary because of screen resolution differences from one device to another. I have two monitors. One is set at 1600×900 and the other is 2560×1440. The text appears larger on the first one.

    Deborah Delin

    (@deborahdelingmailcom)

    I see. Thank you. Compared to what you are used to seeing on those screens, does the text seem too small or OK?

    It seems too small for me:

    http://www.smashingmagazine.com/2011/10/07/16-pixels-body-copy-anything-less-costly-mistake/

    That’s an older article, but still relevant.

    Deborah Delin

    (@deborahdelingmailcom)

    Food for thought. Thanks so much. The site looks so ugly with larger text! I’ll have to look into this further.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Font Size’ is closed to new replies.