-
AuthorPosts
-
February 19, 2018 at 4:49 pm #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
February 20, 2018 at 3:47 am #914642Hi 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,
RikardFebruary 20, 2018 at 8:06 pm #914980This reply has been marked as private.February 21, 2018 at 4:19 am #915193Hi,
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,
RikardFebruary 21, 2018 at 2:12 pm #915446Hi 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.
February 22, 2018 at 3:25 am #915819Hi,
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,
IsmaelFebruary 22, 2018 at 4:14 am #915838Hi, 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
February 22, 2018 at 5:32 am #915877 -
AuthorPosts
- You must be logged in to reply to this topic.