• Resolved dukearmi

    (@dukearmi)


    Hello!

    I’m hosting fonts locally (and preloading them) and I’m using this CSS:

    @font-face {
        font-family: 'Source Sans Pro';
        src: url('wp-content/fonts/source-sans-pro-v21-latin-regular.woff2') format('woff2');
        font-weight: 400;
        font-style: normal;
        font-display: optional;
    }
    @font-face {
        font-family: 'Source Sans Pro';
        src: url('wp-content/fonts/source-sans-pro-v21-latin-600.woff2') format('woff2');
        font-weight: 600;
        font-style: normal;
        font-display: optional;
    }
    @font-face {
        font-family: 'Source Sans Pro';
        src: url('wp-content/fonts/source-sans-pro-v21-latin-700.woff2') format('woff2');
        font-weight: 700;
        font-style: normal;
        font-display: optional;
    }
     body {
    	font-family: "Source Sans Pro", "Georgia", sans-serif;
    }
     h1,h2,h3,h4,h5,h6 {
    	font-family: "Source Sans Pro", "Georgia", sans-serif;
    }

    Pages and posts display Source Sans Pro except for the author archives (https://tinyurl.com/bdfjdd6r) where it shows Georgia.

    Any idea why that might be? I tested with removing clearing the cache and deleting all the CSS, but the issue persisted.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Local font works great except on author archives and 404 page’ is closed to new replies.