Custom fonts – No backup fonts
-
Hi, I want to use the font family like this: .example {font-family: "my custom font",lato;}
.
In Theme settings>Typography>Custom fonts
, I’ve uploaded my custom fonts and it works, no problems with the letter but the number is Times New Roman font but I want the number to be Lato font. In TYPOGRAPHY page, I can select only one font. And when I select my custom font, how can I select Lato font as the backup font? How can I do that or do I have to upload webfonts folder to my child theme folder and customize in style.css in stead?
Hello,
Please provide the site admin access to the private area so that we could check the settings.
Best Regards
There is no reason to use Google Font as a backup font. It should be a system font since Lato is stored remotely too.
Hi, I don’t understand what you mean. Did you login to check?
You want to set the Lato font as a backup font but it is not possible and was not possible before the update as well. Backup font should be a system font like Arial, Times New Roman, Verdana etc.
If cannot use Lato, can I use Tahoma? I’ve tried to replace Arial with Tahoma in this file woodmart-dynamic-1565612449.css
but cannot.
Try to add the following PHP code snippet to the child theme functions.php file to do this
add_filter( 'woodmart_backup_fonts', function(){
return ', Tahoma, Helvetica, sans-serif';
} );
And then go to Theme Settings and resave them.
The topic ‘Custom fonts – No backup fonts’ is closed to new replies.