WordPress.org

Forums

Clean Retina
[resolved] How to insert a non standard font (4 posts)

  1. epigrapisa
    Member
    Posted 2 years ago #

    I wanted to change the font family in style.css, I know I have to use @fontface, but can Ijust insert it in style.css or should I modify something else?
    Thanks in advance

  2. Sovit
    Member
    Posted 2 years ago #

    Hi epigrapisa,

    Yes, you have to insert a script provided by 'font integrate services' in your website. For that follow the following steps.
    Go to Appearance -> Theme Options -> Webmaster Tools -> Analytics
    and paste your script in the header script box which is given by font integrate service such as Google Web Fonts http://www.google.com/webfonts.

    For Example:
    STEP 1
    If you want to put the Google font 'Philosopher' then Google Web Font give this script
    <link href='http://fonts.googleapis.com/css?family=Philosopher' rel='stylesheet' type='text/css'>
    paste this script that i have mentioned above.

    STEP 2
    Now Integrate the font into your CSS
    Go to Appearance -> Theme Option -> Design Option Tab -> Custom CSS
    and paste you CSS code for 'Philosopher' that Google Web Font give to u in YOUR-FONT-FAMILY field below.

    body, input, textarea {
        YOUR-FONT-FAMILY
    }

    for example you are given this CSS code
    font-family: 'Philosopher', sans-serif;
    then your CSS code will be

    body, input, textarea {
        font-family: 'Philosopher', sans-serif;
    }

    Paste it and Click on Save all Changes Button.
    Now, 'Philosopher' font-family is integrated to your website.

    Thank you for using our theme.

    Regards,
    Team Horse

  3. epigrapisa
    Member
    Posted 2 years ago #

    thanks a lot!

  4. Sovit
    Member
    Posted 2 years ago #

    Welcome any time ! Have a great website.

    Regards,
    Team Horse

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.