Font Face not working for me on Persuasion Theme 2.8 (wordpress 4.3)

pending (2 posts) (2 voices)

  1. kietpong
    Member

    I am a norvice for coding, so please bear with me. I use Persuasion 2.8 theme on wordpress 4.3.
    I want to change the text appearance to my own text using font face.

    (1) I uploaded web fonts to /fonts/ directory.
    (2) Add generated .css code of these font into styles heet "style.css" as following;

    @font-face {
    font-family: 'THSarabunNew';
    src: url('fonts/THSarabunNew.eot') format('embedded-opentype');
    src: url('fonts/THSarabunNew.woff') format('woff'),
    url('fonts/THSarabunNew.ttf') format('truetype'),
    url('fonts/THSarabunNew.svg#THSarabunNew') format('svg');
    font-weight: normal;
    font-style: normal;
    }

    (3) Add font name to font-family wherever written in style sheet "style.css", sample as below;
    font-family:'THSarabunNew',georgia;font-size:10px;font-style:italic;

    That's all I have done and the font appearance is still the old one, not changed, any solution?

    Thanks, KT

    Posted 2 years ago #
  2. Elliott
    Support

    Hello kietpong,

    Try disabling Cufon in the theme settings.

    Posted 2 years ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme