sarahw1987 Posted May 18, 2021 Posted May 18, 2021 Site URL: https://www.lucylawson.co.uk Hi there, My clients website is viewing the custom fonts differently on safari and iOs. Looks totally as expected on Chrome, but appears different on Safari. .ttf .otf .woff .woff2 have all been uploaded. @font-face { font-family: 'NoeDisplay'; src: url('https://static1.squarespace.com/static/60661ef2806161468599d160/t/60661fb6b8414c574a547e86/1617305526790/NoeDisplay-Black.otf'); font-weight: black; } @font-face { font-family: 'Graphik'; src: url('https://static1.squarespace.com/static/60661ef2806161468599d160/t/60661fd8db8f047724129954/1617305560410/Graphik-Black.otf') } h1 {font-family: 'NoeDisplay-Black';} h2 {font-family: 'NoeDisplay-Medium';} h3 {font-family: 'Graphik-Medium';}
tuanphan Posted May 19, 2021 Posted May 19, 2021 You declared incorrect font-name for h1,h2,h3 Use this code @font-face { font-family: 'NoeDisplay'; src: url('https://static1.squarespace.com/static/60661ef2806161468599d160/t/60661fb6b8414c574a547e86/1617305526790/NoeDisplay-Black.otf'); } @font-face { font-family: 'Graphik'; src: url('https://static1.squarespace.com/static/60661ef2806161468599d160/t/60661fd8db8f047724129954/1617305560410/Graphik-Black.otf'); } h1, h2 { font-family: 'NoeDisplay' !important; } h3 { font-family: 'Graphik' !important; } .sqs-block-horizontalrule hr { background: #eb5741; height: 1px !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.