good evening, i’m trying to upload my own fonts uploaded with font squirrel, put them in child theme folder / fonts, and put this code in child theme style.css
font-face {
font-family: 'aracne_condensed_lightCnLt';
src: url('fonts/aracne-condensed_light-webfont.eot');
src: url('fonts/aracne-condensed_light-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/aracne-condensed_light-webfont.woff2') format('woff2'),
url('fonts/aracne-condensed_light-webfont.woff') format('woff'),
url('fonts/aracne-condensed_light-webfont.ttf') format('truetype'),
url('fonts/aracne-condensed_light-webfont.svg#aracne_condensed_lightCnLt') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'aracne_condensed_regularCnRg';
src: url('fonts/aracne-condensed_regular-webfont.eot');
src: url('fonts/aracne-condensed_regular-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/aracne-condensed_regular-webfont.woff2') format('woff2'),
url('fonts/aracne-condensed_regular-webfont.woff') format('woff'),
url('fonts/aracne-condensed_regular-webfont.ttf') format('truetype'),
url('fonts/aracne-condensed_regular-webfont.svg#aracne_condensed_regularCnRg') format('svg');
font-weight: normal;
font-style: normal;
}
h1, h2, h3, h4, h5, .custom-caption p, span.dropcap1, span.dropcap2, span.dropcap3, span.dropcap4, .wpb_call_text, .impact-text, .testimonial-text, .header-advert {
font-family: 'aracne_condensed_regularCnRg'; !important}
inspecting with chrome, it founds the font family commands, but is overwritten by the default one…
if i unmark helvetica, my font appears, so it is loaded…
i’ve tried a solution posted by kyle in another thread, commenting in sf-custom-styles.php ( http://www.swiftideas.com/forums/topic/override-theme-font-options/#post-51717 )
but it isn’t working