Custom font not working
-
Hi, I’m trying to get a custom font family (Poppins) to work on my website, but no luck. I managed to add another font (Passion to Action) to my website a few years ago , but this time I can’t get it to work for Poppins.
I’m working on a subdomain- not sure if that makes a difference?
This is the code I added to the customizer in WordPress:
@font-face { font-family: 'Poppins'; src: url('public_html/wp-content/themes/ChloeCake/enoki/fonts/Poppins-Regular.otf') format('otf'), font-weight: 400, font-style: normal; src: url('public_html/wp-content/themes/ChloeCake/enoki/fonts/Poppins-Light.otf') format('otf'), font-weight: 200, font-style: normal; src: url('public_html/wp-content/themes/ChloeCake/enoki/fonts/Poppins-Medium.otf') format('otf'), font-weight: 600, font-style: normal; }
Thanks!
The page I need help with: [log in to see the link]
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Custom font not working’ is closed to new replies.