Adding Custom Fonts to a WordPress Site Manually

Аватар автора
WordPress Копирайтинг
This is a quick and easy way to add a custom font to a WordPress site using Gutenberg Block Editing without a plugin. 1. Add a fonts directory to your site&theme directory 2. Add the font files (.ttf or .otf) to the fonts directory 3. In your editor in Additional CSS, add the font-face css wit the URL and name of the font 4. Assign a unique class to the text you want to apply your font to (or select the Section Heading) 5. In Additional CSS, using the class or section heading, assign the font family using your custom font name

0/0


0/0

0/0

0/0