WordPress.org

Ready to get started?Download WordPress

Forums

how do i upload and implement fontsquirrel webkits (2 posts)

  1. mtouchette
    Member
    Posted 1 year ago #

    1. downloaded the webkits...
    2. created a folder named "fonts" in the root of atahualpa theme directory
    3. uploaded everything to the new folder
    4. added @fontface to the style sheet via the atahualpa theme options "add HTML/CSS inserts" feature as follows:

    @font-face {
    font-family: 'MyFontFamily';
    src: url('fonts/myfont-webfont.eot?#iefix') format('embedded-opentype'),
    url('fonts/myfont-webfont.woff') format('woff'),
    url('fonts/myfont-webfont.ttf') format('truetype'),
    url('fonts/myfont-webfont.svg#svgFontName') format('svg');
    }

    and...nothing. :((

    can anyone help? i did several web and wp codex searches to no avail.

    thanks bunches. :)

  2. Eccola
    Member
    Posted 1 year ago #

    style.css:
    ex.: h1, h2, h3 {font-family: 'MyFontFamily';}

Topic Closed

This topic has been closed to new replies.

About this Topic