Hello,
We want to upload our own webfont. Here is what I have in the child theme’s style.css:
@font-face {
font-family: 'Compacta Black';
src : url('./fonts/compacta-black-bt_1-webfont.woff') format('woff');
}
@font-face {
font-family: 'Compacta Bold';
src: url('./fonts/compacta_bold_bt-webfont.woff') format('woff');
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, .h1 a, .h2 a, .h3 a, .h4 a, .h5 a, .h6 a, blockquote {
font-family: 'Compacta Black', 'Lato',sans-serif !important;
font-weight:normal;
}
I’ve also uploaded the fonts to the child theme font folder http://f8d.1de.myftpupload.com/wp-content/themes/child-pro/fonts/compacta_bold_bt-webfont.woff
Not working, thanks for your help!
Alvin