DigitalSociopath Posted September 4, 2023 Posted September 4, 2023 Hello, I've added a custom font to my website, and added the "!important;" next to it, and it is still not showing. Below is the code. It is only appearing on Google chrome on the mac where the font is installed on the mac. Safari doesn't load it. Additionally, on other PCs and mobile it does not load. Can someone please support in this? It is for an important event going live soon. @font-face { font-family: 'SOLAR-VESTA-SERIF' !important; src: url('https://static1.squarespace.com/static/64ece908fafe492e179654a2/t/64ecf24b4f8a56530239f13f/1693333035052/SOLAR+VESTA+SERIF.TTF'); } h1 { font-family: 'SOLAR VESTA SERIF' !important; }
Solution tuanphan Posted September 6, 2023 Solution Posted September 6, 2023 First, remove !important in first arrow. This will make font-face code invalid Second, make sure both font name are same DigitalSociopath 1 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!)
DigitalSociopath Posted September 6, 2023 Author Posted September 6, 2023 Thank you @tuanphan! This fixed the issue. Much Apprecited.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment