Support » Themes and Templates » How do you change the font?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p


    1. which “title”?
    2. what theme are you working with?

    See the title: My question is how do I change the general content font?

    I’m on Twenty Ten.


    Open and Edit wp-content/themes/twentyten/style.css

    Find “/* =Fonts”

    Beneath that comment will be the rules for font styling for this theme.

    The fonts are segregated into 4 groups dependent on the uses.

    In general font-family is used because not everyone has the same fonts installed by default. It varies from OS to OS.

    Some help for selecting a font family can be found here:

    Font Stacks

    Thank you for the information!

    I noticed that there are three places where the font family is located:

    /* =Fonts
    -------------------------------------------------------------- */
    .page-title span,
    .pingback a.url {
    	font-family: Palatino, Georgia, "Bitstream Charter", serif;
    #access .menu,
    #access ul,
    .comment-body tr th,
    .comment-body thead th,
    .entry-content label,
    .entry-content tr th,
    .entry-content thead th,
    #respond label,
    .pingback p,
    input[type=submit] {
    	font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
    pre {
    	font-family: "Courier 10 Pitch", Courier, monospace;
    code {
    	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;


    .pingback a.url {
    	font-family: Palatino, Georgia, "Bitstream Charter", serif;

    The correct place?

    Note that I want my main font to be Palatino.

    If you want Palatino to be selected first of available fonts for everything in the theme you can replace all of the above (all 4 chunks) with :

    /* =Fonts
    -------------------------------------------------------------- */
    * {font-family: Palatino, Georgia, "Bitstream Charter", serif;}

    If someone is viewing your page and they have Palatino installed on their computer the page will display with that font. If not it will select the next in the list.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How do you change the font?’ is closed to new replies.