Tagged: Fonts
-
AuthorPosts
-
March 27, 2015 at 5:47 pm #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?
March 28, 2015 at 6:07 am #419750Hey 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,
RikardMarch 28, 2015 at 1:12 pm #419830This reply has been marked as private.March 30, 2015 at 5:46 am #420190Hi!
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!
IsmaelMarch 30, 2015 at 5:07 pm #420603Tried 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”.
March 31, 2015 at 8:38 am #420991Hi!
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!
RikardApril 9, 2015 at 2:18 am #425667This reply has been marked as private.April 9, 2015 at 12:33 pm #425862Hey!
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,
RikardApril 9, 2015 at 1:56 pm #425907the 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.
April 9, 2015 at 3:06 pm #425972This reply has been marked as private.April 9, 2015 at 3:18 pm #425983April 9, 2015 at 3:31 pm #425990Hi 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
April 10, 2015 at 8:40 pm #426766Hey!
for this you would need to search a plugin. Maybe this one is for you: https://wordpress.org/plugins/polylang/
Regards,
AndyApril 11, 2015 at 4:34 pm #427040doesn’t really help. thanks anyway.
-
AuthorPosts
- The topic ‘Add my own font’ is closed to new replies.