- This topic has 11 replies, 3 voices, and was last updated 7 years, 11 months ago by
Vignesh.
-
AuthorPosts
-
May 10, 2018 at 1:41 pm #572758
Vignesh
I am trying to use Poppins font with few font weights/variants. But GP is not loading the weights I need. Here is code from page header
“href=’//fonts.googleapis.com/css?family=Poppins:300,regular,500,600,700”.I wanted to use 200 weight.
Poppins font https://fonts.google.com/specimen/Poppins?selection.family=Poppins.
I tried using google fonts filter but not working. Your help is appreciated.May 10, 2018 at 5:25 pm #572859Leo
StaffCustomer SupportHi there,
Just tested and this worked for me:
add_filter( 'generate_typography_customize_list', 'lh_add_google_fonts' ); function lh_add_google_fonts( $fonts ) { $fonts[ 'poppins' ] = array( 'name' => 'Poppins', 'variants' => array( '200' ), 'category' => 'serif' ); return $fonts; }May 11, 2018 at 4:35 am #573155Vignesh
The above solution worked, Thank you for the support.
Now I have another problem, I am unable to find “Load essential Icons only” setting. I marked that option a while ago and now wanted to uncheck but it is not there. Attaching screenshot for ref.
May 11, 2018 at 5:08 am #573170David
StaffCustomer SupportHi Vignesh,
GP now uses its own Icons so FA essential icons option was removed as it is no longer required. If you want some more info on using FA then read here:
May 11, 2018 at 5:52 am #573189Vignesh
Thanks David for the info. But I am trying to include social media icons at footer, but those fontawesome icons are displaying in Customize/Builder modes but disappearing once I publish the site. To achieve that do I need to follow the above mentioned way?
May 11, 2018 at 6:09 am #573195David
StaffCustomer SupportCan you provide a link to the page?
May 11, 2018 at 6:10 am #573196Vignesh
Pls check http://www.thydesigns.com/
May 11, 2018 at 6:26 am #573203David
StaffCustomer SupportHi Vignesh yes if you follow the above instructions. Or alternatively as you are using BB you could use one of their widgets as this includes FA when icons are used.
May 11, 2018 at 6:31 am #573206Vignesh
Thank you David, let me try and update you.
May 11, 2018 at 6:42 am #573216Vignesh
Hi David,
I used function to include FA v5 and now it is working fine. Thank you for the timely help.May 11, 2018 at 6:48 am #573218David
StaffCustomer SupportGlad we could help.
May 11, 2018 at 6:55 am #573220Vignesh
Thank you again & Have a great day David.
-
AuthorPosts
- You must be logged in to reply to this topic.