I am having issues using the following code to render the fonts on mobile devices. When I look at the fonts through the mobile UI in shopify it renders correctly. But when I go to the website it does not show.
@font-face {
font-family: 'OptimaLTPro-Roman';
src: url('https://cdn.shopify.com/s/files/1/0798/1013/4319/files/OptimaLTPro-Roman.woff2?v=1703767192') format('woff2'),
url('https://cdn.shopify.com/s/files/1/0798/1013/4319/files/OptimaLTPro-Roman.woff?v=1703767192') format('woff'),
url('https://cdn.shopify.com/s/files/1/0798/1013/4319/files/OptimaLTPro-Roman.ttf?v=1703767192') format('truetype');
}
h3, h4 {
font-family: 'OptimaLTPro-Roman' !important;
}
@font-face {
font-family: 'FaveCasual-ScriptBoldPro';
src: url('https://cdn.shopify.com/s/files/1/0798/1013/4319/files/FaveCasual-ScriptBoldPro.woff?v=1703517867') format('woff'),
url('https://cdn.shopify.com/s/files/1/0798/1013/4319/files/FaveCasual-ScriptBoldPro.woff2?v=1703517867') format('woff2');
}
h1, h2 {
font-family: 'FaveCasual-ScriptBoldPro' !important;
}
@font-face {
font-family: 'OptimaLTPro-MediumItalic';
src: url('https://cdn.shopify.com/s/files/1/0798/1013/4319/files/OptimaLTPro-MediumItalic.ttf?v=1703518145') format('truetype'),
url('https://cdn.shopify.com/s/files/1/0798/1013/4319/files/OptimaLTPro-MediumItalic.woff?v=1703518144') format('woff'),
url('https://cdn.shopify.com/s/files/1/0798/1013/4319/files/OptimaLTPro-MediumItalic.woff2?v=1703518144') format('woff2');
}
h6 {
font-family: 'OptimaLTPro-MediumItalic' !important;
}
@font-face {
font-family: 'Optimapromed';
src: url('https://cdn.shopify.com/s/files/1/0798/1013/4319/files/OptimaLTStd-Medium.woff?v=1703518115') format('woff'),
url('https://cdn.shopify.com/s/files/1/0798/1013/4319/files/OptimaLTStd-Medium.woff2?v=1703518115') format('woff2'),
url('https://cdn.shopify.com/s/files/1/0798/1013/4319/files/OptimaLTStd-Medium.ttf?v=1703518115') format('truetype');
}
h5, p, a {
font-family: 'Optimapromed' !important;
}