mplsjen Posted September 11, 2019 Share Posted September 11, 2019 Using the Jasper template. Here is the code I'm using: @font-face { font-family: "Metropolis"; src: url(https://static1.squarespace.com/static/5d707e930fec5500014bea13/t/5d786e87913a06645e30fa5f/1568173704160/Metropolis-Medium.woff2), url(https://static1.squarespace.com/static/5d707e930fec5500014bea13/t/5d786e789da84f77dcfe024c/1568173688518/Metropolis-Medium.woff), url(https://static1.squarespace.com/static/5d707e930fec5500014bea13/t/5d786eaf9da84f77dcfe0813/1568173744007/Metropolis-Medium.otf);} header#header * { font-family: 'Metropolis' !important; font-size: 22px!important; } h1 { font-family: 'Metropolis' !important; font-size: 22px!important; } Link to comment
tuanphan Posted September 11, 2019 Share Posted September 11, 2019 Still not solved? @mplsjen Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
mplsjen Posted September 12, 2019 Author Share Posted September 12, 2019 @tuanphan Everything working great on desktop. When I scale to mobile it reverts to the original template font... Link to comment
tuanphan Posted September 12, 2019 Share Posted September 12, 2019 @mplsjen can you share url? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
tuanphan Posted September 12, 2019 Share Posted September 12, 2019 @mplsjen Mobile Header uses other tags, so the code won't work. add this code for mobile .mobile-bar-wrapper * { font-family: 'Metropolis' !important; font-size: 24px !important; } h1, i think it worked all devices? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Guest Posted April 14, 2020 Share Posted April 14, 2020 you should add the files in other formats as well, for example, go to special font generator tool and convert your font then add all types because this has to do with the operating system. @font-face { font-family: "CustomFont"; src: url("CustomFont.eot"); src: url("CustomFont.woff") format("woff"), url("CustomFont.otf") format("opentype"), url("CustomFont.svg#filename") format("svg"); } Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.