WordPress.org

Support

Support » How-To and Troubleshooting » Change Default Fonts in 2010

Change Default Fonts in 2010

  • Dan Borchers
    Participant

    @dan-borchers

    I have read thru the prior Q&A’s but still cant get Verdana to be the default font. Is anyone out there familiar with the 2010 theme and how and where I cnange the font. HELP!! Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Diogo
    Member

    @stashpro

    Hi, Dan

    You’ll have to change that in the theme’s CSS.

    Just login to your site and go to Appearance > Edit CSS and you will be presented with a CSS Stylesheet Editor that you can use to write custom code to override the defaults.

    In Twenty Ten the fonts definitions begin on line 113 of the styles.css file. Here’s what you’ll find there:

    /* =Fonts
    -------------------------------------------------------------- */
    body,
    input,
    textarea,
    .page-title span,
    .pingback a.url {
    	font-family: Georgia, "Bitstream Charter", serif;
    }
    h3#comments-title,
    h3#reply-title,
    #access .menu,
    #access div.menu ul,
    #cancel-comment-reply-link,
    .form-allowed-tags,
    #site-info,
    #site-title,
    #wp-calendar,
    .comment-meta,
    .comment-body tr th,
    .comment-body thead th,
    .entry-content label,
    .entry-content tr th,
    .entry-content thead th,
    .entry-meta,
    .entry-title,
    .entry-utility,
    #respond label,
    .navigation,
    .page-title,
    .pingback p,
    .reply,
    .widget-title,
    .wp-caption-text {
    	font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
    }
    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;
    }

    Cheers,

    -Diogo

    Diogo is right but you should be aware that if the theme is updated, then your changes will be overwritten.

    Thus best to create a child theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change Default Fonts in 2010’ is closed to new replies.