Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #60488

    Kosher K
    Member

    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

    #60501

    GDM-Pixel
    Participant

    Hi Karin,

    I’ve got something maybe easier for you :
    Go to
    http://www.fontsquirrel.com/tools/webfont-generator

    Upload 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

    #60643

    Karin P
    Participant

    Charles,
    Thank you, that was a very clever fix. The font is working again.

    #60923

    Support
    Member

    Hey Karin,

    We are happy to know it works now for you, thanks to Charles!

    Cheers!

    #64075

    Karin P
    Participant

    Thank you very much!

    #64424

    Christian
    Moderator

    You’re welcome Karin.

    #159528

    behrad
    Participant
    This reply has been marked as private.
    #159563

    behrad
    Participant

    hi 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 help

    #159723

    Christian
    Moderator

    Hey 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.

    #647706

    Alejandro Jose S
    Participant

    Hi 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!

    #647918

    Rue Nel
    Moderator

    Hello 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!

    #681944

    jomkwan93
    Participant
    This reply has been marked as private.
    #681945

    Rad
    Moderator

    Hi 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.