I just discovered you can add a custom font to Enfold and seem to have run into some issues. I went to font squirrel and got the web font code below. The directory of the font is inside the private content. Do I need to do anything else to make this font work?
CSS added
@font-face {
font-family: 'blackchanceryregular';
src: url('blkchcry-webfont.woff2') format('woff2'),
url('blkchcry-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
h3 {
font-family: ‘blackchanceryregular’;
}
Hey elsrick91,
In your child theme css you have some curly quotes and the path is not correct, please try this instead:
@font-face {
font-family: 'blackchanceryregular';
src: url('fonts/blkchcry-webfont.woff2') format('woff2'),
url('fonts/blkchcry-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
h3 {
font-family: 'blackchanceryregular'!important;
}
If this doesn’t help then change to the full path, example in the Private Content area
Best regards,
Mike
We are working. Thanks.
Hi,
Great! I’m glad Mike’s solution worked out for you. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon