Hi, I tried to add my custom font to my site, but I’ve failed.
The CSS code I added is
@font-face {
font-family: ‘Hanthem Script’;
src: url(’/wp-content/fonts/HanthemScript.eot’);
src: url(’/wp-content/fonts/HanthemScript.eot?#iefix’) format(‘embedded-opentype’),
url(’/wp-content/fonts/HanthemScript.woff’) format(‘woff’),
url(’/wp-content/fonts/HanthemScript.ttf’) format(‘truetype’),
url(’/wp-content/fonts/HanthemScript.svg#HanthemScript’) format(‘svg’);
}
site-logo {
font-family: ‘Hanthem Script’;
}
in the Global CSS form.
However, the font of site logo doesn’t change at all.
Can you explain me how to change the font of elements in X Theme?