Tagged: 

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #419499

    Hi,

    I bought a package of fonts called NarkisBlock to use for Hebrew.
    I followed this article to install the new fonts: http://wpsites.net/web-design/custom-fonts-wordpress-font-face-generator/.
    It doesn’t work – the text’s font turns to times new roman.

    Please advise what to do?

    #419750

    Hey sasha!

    Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details here as a private reply.

    Regards,
    Rikard

    #419830
    This reply has been marked as private.
    #420190

    Hi!

    Try to use absolute url. Something like:

    @font-face {
    font-family: 'trashhandregular';
    src: url('http://www.mysite.com/wp-content/themes/fonts/trashhand.eot');
    src: url('http://www.mysite.com/wp-content/themes/fonts/trashhand.eot?#iefix') format('embedded-opentype'),
    url('http://www.mysite.com/wp-content/themes/fonts/trashhand.woff') format('woff'),
    url('http://www.mysite.com/wp-content/themes/fonts/trashhand.ttf') format('truetype'),
    url('http://www.mysite.com/wp-content/themes/fonts/trashhand.svg#trashhandregular') format('svg');
    font-weight: normal;
    font-style: normal;
    }

    Adjust the url where the font files are located. Make sure that you apply the correct font family in a proper element selector. Example:

    h2.post_title {
    font-family: 'trashhandregular' !important;
    }

    Cheers!
    Ismael

    #420603

    Tried this – doesn’t work.

    I tried with another font (Alef) which is more know and also it doesn’t work.

    I followed this http://wpsites.net/web-design/custom-fonts-wordpress-font-face-generator/ and changed to absolute urls and still doesn’t work – the font the shows looks like “times new roman”.

    #420991

    Hi!

    It’s difficult for us to help you when you are working locally, could you upload to a live server so that we can have a look ourselves?

    Cheers!
    Rikard

    #425667
    This reply has been marked as private.
    #425862

    Hey!

    Your paths for the fonts are most likely wrong, try typing the full url like http://localhost/your-folder/wp-content/themes/enfold/fonts/your-font.eot and also verify that you can actually find the font there so that you know the path is correct.

    Regards,
    Rikard

    #425907

    the paths look good to make double sure it’s right I put an image there and when I click the path I can see it.

    #425972
    This reply has been marked as private.
    #425983

    Hi!

    Can you please post the link to your website?

    Regards,
    Yigit

    #425990

    Hi Yigit,

    I”m working on a local server…

    My website is mainly Hebrew and I installed a custom font for Hebrew (for which this topic was opened).

    I wish to use a different font for texts in English that are in the same sentence – how do I do this?

    Many Thanks

    #426766

    Hey!

    for this you would need to search a plugin. Maybe this one is for you: https://wordpress.org/plugins/polylang/

    Regards,
    Andy

    #427040

    doesn’t really help. thanks anyway.

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Add my own font’ is closed to new replies.