Home Forums Weaver Xtreme Theme adding custom fonts Re: adding custom fonts

#32110
Skippy
Participant

I’m back.  Got distracted for a bit there.

Something is still not right here.

Here’s what I got.

Added the font to Weaver as such:

<link
href=’//goodguys2greatmen.com/sandbox/wp-content/uploads/fonts/smokum/stylesheet.css’
rel=’stylesheet’ type=’text/css’>

font-family: ‘smokumregular,arial’;

I have confirmed that

sandbox/wp-content/uploads/fonts/smokum

does exist.

It is a subdirectory of goodguys2greatmen.com

In this directory is:

Smokum-Regular.ttf
generator_config.txt
smokum-regular-demo.html
smokum-regular-webfont.woff
smokum-regular-webfont.woff2
stylesheet.css

the subdirectory

specimen_files

contains the files

grid_12-825-55-15.css
specimen_stylesheet.css

contents of stylesheet.css:

/* Generated by Font Squirrel (https://www.fontsquirrel.com) on February 11, 2017 */
@font-face {
    font-family: ‘smokumregular’;
    src: url(‘smokum-regular-webfont.woff2’) format(‘woff2’),
         url(‘smokum-regular-webfont.woff’) format(‘woff’);
    font-weight: normal;
    font-style: normal;
}

Looking at this page

http://goodguys2greatmen.com/sandbox/skippy-test-home-page/

Which has this code:

<span style=”font-family: smokumregular, arial;”>test text – this should be the smokum font.</span>

<strong><span style=”font-family: smokumregular, arial;”>This text should be smokum font and bold.</span></strong>

<span style=”font-family: ‘Arial Black’, Helvetica, sans-serif;”>this text is arial black</span>

The smokum font is not appearing.

I’ve looked for typos and other obvious mistakes but there’s gotta be something I’m missing…..