• I just installed WordPress, and I have a few questions on themes and customization.

    Reading the documentation,

    Custom “Open Sans” Font

    To increase readable and attractiveness, Twenty Twelve features a gorgeous display font, Open Sans.

    I see that “Open Sans” is indeed listed in the font-family CSS property when the page loads. But where does this font come from? I certainly don’t recall installing it. Does WP now come with some kind of web-font server system built in? Searching, I see addins for Google Web Fonts and similar services, but I didn’t install such an add-in myself either. So is something like that available by default now, or hotwired into the theme, or what?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Twenty Twelve loads CSS with font references from Google Web Fonts. See functions.php line 106 and bellow.

    Thread Starter JMDlugosz

    (@jmdlugosz)

    I see, thanks Andrei.

    So, how do I change the font? Since the string is hard-coded on line 136 I suppose I could just change “Open+Sans:⋯” to something else that is also on Google Fonts. But I really ought to do it in a child style somehow. Is there a more proper way to do this, or something else I should be looking into? It seems that Twenty-Twelve, although nicely designed and clean, has minimal customizability via the control panel in the dashboard.

    Is there a more proper way to do this

    Yes. Do not edit the Twenty Twelve theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. First create a child theme for your changes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Availability of Fonts’ is closed to new replies.