-
AuthorPosts
-
June 24, 2014 at 1:35 pm #60488
Hi Karin,
You need to use the font URL location, not the font directory location,
instead of you’re directory location like
www/wordpress1/wp-content/themes/x/framework/fonts/futura_book/futura_book.eot
change them to something like
http://your-site-url.com/wp-content/themes/x/framework/fonts/futura_book/futura_book.eot
Let me know if you still have questions,
Cheers
June 24, 2014 at 2:09 pm #60501Hi Karin,
I’ve got something maybe easier for you :
Go to
http://www.fontsquirrel.com/tools/webfont-generatorUpload the .ttf file of your font by clicking the “add font” button, then wait a bit and click “download Kit”.
Unzip the archive, and upload the .ttf, .eot, .woff and .svg file obtained into /wp-content/themes/x-child-themes
Then go to your “style.css” file and copy/paste the content of the stylesheet.css file of your unziped file from fontsquirrel.
The content of your child theme won’t be updated when you update X theme, so it should be ok for the future.
With the syntaxe of the stylesheet.css file, you won’t have to bother about the adress of your font file, as long as they are in the same folder as “style.css” (your x-child-themes folder).
Best regards
Charles
June 24, 2014 at 6:42 pm #60643Charles,
Thank you, that was a very clever fix. The font is working again.June 25, 2014 at 8:37 am #60923Hey Karin,
We are happy to know it works now for you, thanks to Charles!
Cheers!
July 2, 2014 at 11:41 am #64075Thank you very much!
July 3, 2014 at 1:19 am #64424You’re welcome Karin.
December 6, 2014 at 2:23 pm #159528This reply has been marked as private.December 6, 2014 at 4:51 pm #159563hi dear support
i followed your instruction and i wrote this code on style.css in child theme :@font-face { font-family: 'irbadr_p30download.com'; font-style: normal; font-weight: 300; src: local('irbadr_p30download.com'), local('irbadr_p30download.com'), url(http://www.gostaresh-jam.com/wp-content/themes/x/framework/fonts/irbadr_p30download.com.eot'); src: local('irbadr_p30download.com'), local('irbadr_p30download.com'), url(http://www.gostaresh-jam.com/wp-content/themes/x/framework/fonts/irbadr_p30download.com.eot?iefix') format('eot'); src: local('irbadr_p30download.com'), local('irbadr_p30download.com'), url(http://www.gostaresh-jam.com/wp-content/themes/x/framework/fonts/irbadr_p30download.com.ttf) format('truetype'); src: local('irbadr_p30download.com'), local('irbadr_p30download.com'), url(http://www.gostaresh-jam.com/wp-content/themes/x/framework/fonts/irbadr_p30download.com.woff) format('woff'); src: local('irbadr_p30download.com'), local('irbadr_p30download.com'), url(http://www.gostaresh-jam.com/wp-content/themes/x/framework/fonts/irbadr_p30download.com.svg#webfontZam02nTh) format('svg'); }
and wrote this on x customizer custom css sheet :
.x-brand { font-family: "irbadr_p30download.com" !important; }
but font doesn’t appear on navbar , do i made a mistake ?
thx for your helpDecember 7, 2014 at 12:57 am #159723Hey there,
Your setup is incorrect. Please see http://wpsites.net/web-design/fonts-wordpress/ for the correct setup. “.” in irbadr_p30download.com also is not supported.
Thanks.
October 31, 2015 at 3:33 pm #647706Hi there, i have a question that might be a little bit off-topic.
i wanted to upload a custom font to my site and i did it just fine, now i was wondering about the usual web-font size and what is considered light and heavy. my custom font is 53kb of size and i was wondering if that is usually a “heavy” font or not.what is the average font size or better yet from what size on a font is considered heavy? i mean i want a nice font but it’s not worth it if it’s too heavy.
Thanks!
October 31, 2015 at 11:27 pm #647918Hello There,
Thanks for updating this thread! At this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
Thanks!
November 28, 2015 at 12:11 am #681944This reply has been marked as private.November 28, 2015 at 12:15 am #681945Hi there,
Yes, you should use your site’s url and not SFTP url.
Like, http://your-site.com/wp-content/fonts/rsu_regular-webfont.eot?
Thanks.
-
AuthorPosts