Hi, I have followed every tutorial and watched videos, and this is still not working for me. I have a few fonts I want to use. Here is what I have tried:
I added them to my wp-content/themes/x-child directory on my server.
I added the following to Additional CSS in Customizer (for brevity, I’ll use one as an example, but they’re all done the same way:
@font-face {
font-family: 'Vanity-Bold';
src: url('http://selective.jenwilton.com/wp-content/themes/x-child/Vanity-Bold.eot');
src: url('http://selective.jenwilton.com/wp-content/themes/x-child/Vanity-Bold.eot?#iefix') format('embedded-opentype'),
url('http://selective.jenwilton.com/wp-content/themes/x-child/Vanity-Bold.woff') format('woff'),
url('http://selective.jenwilton.com/wp-content/themes/x-child/Vanity-Bold.ttf') format('truetype'),
}
I then added the following css below that:
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {font-family: 'Vanity-Bold';}
a {font-family : ‘Vanity-Bold’;
}
.x-topbar {font-family : ‘Vanity-Bold’;
}
.x-logobar {font-family : ‘Vanity-Bold’;
}
.x-navbar ul li a{font-family : ‘Vanity-Bold’;
}
.x-brand {font-family : ‘Vanity-Bold’;
}
.h-custom-headline {font-family: 'Vanity-Bold';
}
What am I missing? I inspected a headline and my custom font was lined out (see screenshot). This is driving me crazy. Any help would be appreciated!