Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #819039

    This all worked perfectly until a recent update of wordpress or enfold—not sure exactly when it broke. I’m using six custom fonts—the font package was created with font squirrel. I have the following in style.css in my child theme.

    I made the edits to functions.php so the custom fonts are listed in the enfold advanced styling and general styling.

    I have a folder called fonts in the same directory as wp-content. These urls are correct—the file downloads. Chrome browser tools shows that the font is being called correctly.

    I cannot figure out why the fonts don’t work. I tried calling them from the child theme folder—http and https—absolute and relative. Is there something new that I’m missing

    @font-face {
        font-family: 'claire_handlight';
        src: url('https://www.amythedinga.com/fonts/clairehandlight-webfont.eot');
        src: url('https://www.amythedinga.com/fonts/clairehandlight-webfont.eot?#iefix') format('embedded-opentype'),
             url('https://www.amythedinga.com/fonts/clairehandlight-webfont.woff2') format('woff2'),
             url('https://www.amythedinga.com/fonts/clairehandlight-webfont.woff') format('woff'),
             url('https://www.amythedinga.com/fonts/clairehandlight-webfont.ttf') format('truetype'),
             url('https://www.amythedinga.com/fonts/clairehandlight-webfont.svg#claire_handlight') format('svg');
        font-weight: normal;
        font-style: normal;
    
    }
    
    @font-face {
        font-family: 'claire_handbold';
        src: url('https://www.amythedinga.com/fonts/clairehandbold-webfont.eot');
        src: url('https://www.amythedinga.com/fonts/clairehandbold-webfont.eot?#iefix') format('embedded-opentype'),
             url('https://www.amythedinga.com/fonts/clairehandbold-webfont.woff2') format('woff2'),
             url('https://www.amythedinga.com/fonts/clairehandbold-webfont.woff') format('woff'),
             url('https://www.amythedinga.com/fonts/clairehandbold-webfont.ttf') format('truetype'),
             url('https://www.amythedinga.com/fonts/clairehandbold-webfont.svg#claire_handbold') format('svg');
        font-weight: normal;
        font-style: normal;
    
    }
    
    @font-face {
        font-family: 'claire_handregular';
        src: url('https://www.amythedinga.com/fonts/clairehandregular-webfont.eot');
        src: url('https://www.amythedinga.com/fonts/clairehandregular-webfont.eot?#iefix') format('embedded-opentype'),
             url('https://www.amythedinga.com/fonts/clairehandregular-webfont.woff2') format('woff2'),
             url('https://www.amythedinga.com/fonts/clairehandregular-webfont.woff') format('woff'),
             url('https://www.amythedinga.com/fonts/clairehandregular-webfont.ttf') format('truetype'),
             url('https://www.amythedinga.com/fonts/clairehandregular-webfont.svg#claire_handregular') format('svg');
        font-weight: normal;
        font-style: normal;
    
    }
    
    @font-face {
        font-family: 'runawayregular';
        src: url('https://www.amythedinga.com/fonts/runaway-webfont.eot');
        src: url('https://www.amythedinga.com/fonts/runaway-webfont.eot?#iefix') format('embedded-opentype'),
             url('https://www.amythedinga.com/fonts/runaway-webfont.woff2') format('woff2'),
             url('https://www.amythedinga.com/fonts/runaway-webfont.woff') format('woff'),
             url('https://www.amythedinga.com/fonts/runaway-webfont.ttf') format('truetype'),
             url('https://www.amythedinga.com/fonts/runaway-webfont.svg#runawayregular') format('svg');
        font-weight: normal;
        font-style: normal;
    
    }
    
    @font-face {
        font-family: 'salt__spices_pro_boldbold';
        src: url('https://www.amythedinga.com/fonts/salt__spices_pro_bold-webfont.eot');
        src: url('https://www.amythedinga.com/fonts/salt__spices_pro_bold-webfont.eot?#iefix') format('embedded-opentype'),
             url('https://www.amythedinga.com/fonts/salt__spices_pro_bold-webfont.woff2') format('woff2'),
             url('https://www.amythedinga.com/fonts/salt__spices_pro_bold-webfont.woff') format('woff'),
             url('https://www.amythedinga.com/fonts/salt__spices_pro_bold-webfont.ttf') format('truetype'),
             url('https://www.amythedinga.com/fonts/salt__spices_pro_bold-webfont.svg#salt__spices_pro_boldbold') format('svg');
        font-weight: normal;
        font-style: normal;
    
    }
    
    @font-face {
        font-family: 'salt__spices_pro_regularRg';
        src: url('https://www.amythedinga.com/fonts/salt__spices_pro_regular-webfont.eot');
        src: url('https://www.amythedinga.com/fonts/salt__spices_pro_regular-webfont.eot?#iefix') format('embedded-opentype'),
             url('https://www.amythedinga.com/fonts/salt__spices_pro_regular-webfont.woff2') format('woff2'),
             url('https://www.amythedinga.com/fonts/salt__spices_pro_regular-webfont.woff') format('woff'),
             url('https://www.amythedinga.com/fonts/salt__spices_pro_regular-webfont.ttf') format('truetype'),
             url('https://www.amythedinga.com/fonts/salt__spices_pro_regular-webfont.svg#salt__spices_pro_regularRg') format('svg');
        font-weight: normal;
        font-style: normal;
    
    }
    #819041

    codes in private window

    #819043
    #819046

    New ftp creds in pvt

    #819047

    Please take a look around and let me know what you find.

    #819112

    Hi,

    You can check this article: https://kriesi.at/support/topic/new-custom-font/

    Best regards,
    John Torvik

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.