Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #914384

    Dear, I need to install fonts in the theme to use, I have als fonts in .ttf format, I have managed to convert them to woff / woff2 format.

    But I do not know how to install them on the site, in which folder should I upload the sources in order to use them?

    I have EndFold 4.2.3

    Thank you.

    Norberto

    #914642

    Hi Norberto,

    Maybe this tutorial will help you out with that? http://www.wpbeginner.com/wp-themes/how-to-add-custom-fonts-in-wordpress/

    Best regards,
    Rikard

    #914980
    This reply has been marked as private.
    #915193

    Hi,

    Thanks for the feedback, though I can see that font on all screen sizes. Did you try clearing your browser cache and reload the page on the devices your are not seeing the font on?

    Best regards,
    Rikard

    #915446

    Hi thanks.

    I have tried again, and I can only see the typography in a pc, from a mobile browser either chrome or firefox, I can not see the typography.

    I have cleaned the browser cahce and used pro-mode.

    Do you think the problem may be with the source side used?

    Thank you.

    #915819

    Hi,

    Please remove the import code and then use this code in the functions.php file instead.

    function ava_add_google_fonts() {
          wp_enqueue_style( 'ava-gf-bhaina', 'https://fonts.googleapis.com/css?family=Baloo+Bhaina', false ); 
    }
    
    add_action( 'wp_enqueue_scripts', 'ava_add_google_fonts' );
    

    This is going to load the font inside the head tag instead loading it after the closing body tag.

    Best regards,
    Ismael

    #915838

    Hi, he managed to add the code directly in the theme option:

    Endfold> Google Services:

    <link href=”https://fonts.googleapis.com/css?family=Baloo+Bhaina|Pattaya&subset=cyrillic,latin-ext,oriya,thai,vietnamese” rel=”stylesheet”>

    Inserted the code in that section, since it is equivalent to inserting it in the head of the site, and I work perfect.

    Thank you

    Norberto

    #915877

    Hi Norberto,

    Great, glad you got it working. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.