Hi there,
On my site, http://dhbrown.wpengine.com/, user: demo, password: dhbrown, I’m trying to use a custom font “Vanity-Light”, which I have uploaded via ftp and have it working using @font-face, but I was wondering how I can make it global and get it to show up in the customizer as an option so I can use it for global heading and body copy.
How could I accomplish this?
Here is the Css I have used and the font file location:
@font-face {
font-family: ‘Vanity-Light’;
src: url(’/dhbrown.wpengine.com/wp-content/themes/x-child/fonts/Vanity-Light.eot’);
src: url(’//dhbrown.wpengine.com/wp-content/themes/x-child/fonts/Vanity-Light.woff2’) format(‘woff2’),
url(’//dhbrown.wpengine.com/wp-content/themes/x-child/fonts/Vanity-Light.woff’) format(‘woff’),
url(’//dhbrown.wpengine.com/wp-content/themes/x-child/fonts/Vanity-Light.ttf’) format(‘truetype’),
url(’//dhbrown.wpengine.com/wp-content/themes/x-child/fonts/Vanity-Light.svg#Vanity-Light’) format(‘svg’),
url(’//dhbrown.wpengine.com/wp-content/themes/x-child/fonts/Vanity-Light.eot?#iefix’) format(‘embedded-opentype’);
font-weight: normal;
font-style: normal;
}
Thanks for the help!
Marcus