WordPress.org

Ready to get started?Download WordPress

Forums

Change Default Fonts in 2010 (3 posts)

  1. Dan Borchers
    Member
    Posted 10 months ago #

    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

  2. Diogo
    Member
    Posted 10 months ago #

    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

  3. wpfan1000
    Member
    Posted 10 months ago #

    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.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.