Forums

[resolved] How do I change Twenty Ten Font from Georgia to Arial in Posts and Pages? (5 posts)

  1. Sidra Qasim
    Member
    Posted 10 months ago #

    Hi

    I'm using Twenty Ten theme in latest version of wordpress. I desperately need to change default font Georgia into Arial / Sans Serif.

    Any help will be much appreciated.

    Thank you.

  2. ZackLive
    Member
    Posted 10 months ago #

    Hi Sidra

    You should open the style.css of the Twenty Ten theme, find:

    body,
    input,
    textarea,
    .page-title span,
    .pingback a.url {
    	font-family: Georgia, "Bitstream Charter", serif;
    }

    Add Arail and Snas Serif before Georgia, it should look like this:

    body,
    input,
    textarea,
    .page-title span,
    .pingback a.url {
    font-family: Arail, Snas Serif, Georgia, "Bitstream Charter", serif;
    }

  3. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    Don't edit the Twenty Ten theme. Instead create a child theme for your customisations. Once your child theme is active, we should be able to help with the customisation.

  4. Sidra Qasim
    Member
    Posted 10 months ago #

    Hey Zack, thank you for the help, your given code didn't work out but it helped me do it correctly.

    To get Arial, one need to change the entire font family.

    I replaced
    font-family: Georgia, "Bitstream Charter", serif;

    with
    font-family: Arial, Helvetica, sans-serif;

    And it worked perfectly. Thank you.

  5. yaqee
    Member
    Posted 7 months ago #

    Don't edit the Twenty Ten theme. Instead create a child theme for your customisations. Once your child theme is active, we should be able to help with the customisation.

    Hi asmi, how to change the font style and size on child theme when the style.css file on child theme only filled with command to import the style.css from it's parent theme?

    like this:

    /*
    Theme Name: Twentyten Child
    Description: Child theme for the twentyten
    Author: yaqee
    Template: twentyten
    */

    @import url("../twentyeten/style.css");

    how to add font style on that file? i'm newbie,please help

Reply

You must log in to post.

About this Topic