Home Features Download v18.5 Child theme GGitHub

Fonts

HomeFeaturesFonts

The theme allows you to customize typography by either selecting Google Fonts or uploading your own custom fonts. When you upload a custom font, the theme automatically generates a corresponding CSS class with the font's name. This class applies the font-family property to any HTML element you choose.

For example, if you upload a file with the name "tahoma.woff2," the theme will create a CSS class named .tahoma, based on its filename. You can then apply this class to any element, ensuring that the font-family will be set to the font you uploaded.

The properties below are assigned when you upload a custom font:

<h3 class="tahoma">This is a title</h3>

.tahoma {font-family:Tahoma;}

Please note that when you select a Google Font, the theme does not create custom CSS classes.

🦁 Gridy