I try to implement a non-google font for headings h1 and h2. But it just shows the standard-font I set for the ‘font for body text’ in enfold options.
I. First I uploaded the new font to root/fonts/.
II. Second this is what I typed into ‘quick css’:
@font-face {
font-family: ‘CubanoRegular’;
src: url(‘fonts/cubano-regular-webfont.eot’);
src: url(‘fonts/cubano-regular-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/cubano-regular-webfont.woff’) format(‘woff’),
url(‘fonts/cubano-regular-webfont.ttf’) format(‘truetype’),
url(‘fonts/cubano-regular-webfont.svg#CubanoRegular’) format(‘svg’);
font-weight: normal;
font-style: normal;
}
h1, h2 {
font-family: ‘CubanoRegular’, sans-serif’!important;
}
—–
Any idea?
Best regards
Harry
I solved the problem – it was a simple error in the syntax:
I simply overlooked the missing forward slash / in the beginning of the src, right in front of fonts/
Now it´s working :-)
Hi!
Please feel free to create a new ticket if you need anything else from us.
Thanks a lot!
Best regards,
Basilis