• hi
    when active plugin
    i think every think ok but…

    i added some like this to my theme style.css and dosnt load my font after active plugin

    @font-face {
    font-family: ‘iswfn’;
    Src: url(‘fonts/iswfn.eot?#’) format(‘eot’),
    url(‘fonts/iswfn.woff’) format(‘woff’),
    url(‘fonts/iswfn.ttf’) format(‘truetype’);
    }
    body,a,div,h1,h2,h3,h4,h5,h6,li,option,tbody{
    font-family:iswfn;
    }
    p{
    text-align: justify;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author launchinteractive

    (@launchinteractive)

    Hi djmfxp,

    Are you able to try it with a root relative path to the font files? eg.

    @font-face {
    font-family: ‘iswfn’;
    Src: url(‘/wp-content/themes/mytheme/fonts/iswfn.eot?#’) format(‘eot’),
    url(‘/wp-content/themes/mytheme/fonts/iswfn.woff’) format(‘woff’),
    url(‘/wp-content/themes/mytheme/fonts/iswfn.ttf’) format(‘truetype’);
    }
    Thread Starter djmfxp

    (@djmfxp)

    Hi launchinteractive,

    I try with https://www.domain.com/.. too
    But doesn’t work any way!

    Plugin Author launchinteractive

    (@launchinteractive)

    Are you able to provide a URL to your site?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘@font-face {’ is closed to new replies.