• I added 4 custom fonts Total child theme. Those fonts are showing in the Typography section. When I select a font for any one section but those fonts don’t load from the server. In the console section showing some errors. like ***Mixed Content: The page at ‘https://theoriginalchipwich.com/’ was loaded over HTTPS, but requested an insecure font ‘http://test1.createrevolt.com/wp-content/webfont/Gotham-Black.woff’. This request has been blocked; the content must be served over HTTPS.***

    Child theme css file name style.css

    /*
    CTC Separate Stylesheet
    Updated: 2018-02-25 21:12:42
    Theme Name: Total Child
    Theme URI: http://www.wpexplorer.com
    Template: Total
    Author: WPExplorer
    Author URI: http://www.wpexplorer.com
    Description: Premium WordPress theme by WPExplorer
    Version: 3.3.5.1519593162
    */
    
    @font-face {
        font-family: 'Laqonic 4F Unicase';
        src: url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-1/Laqonic4FUnicase-Medium.eot');
        src: url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-1/Laqonic4FUnicase-Medium.eot?#iefix') format('embedded-opentype'),
            url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-1/Laqonic4FUnicase-Medium.woff2') format('woff2'),
            url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-1/Laqonic4FUnicase-Medium.woff') format('woff'),
            url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-1/Laqonic4FUnicase-Medium.ttf') format('truetype'),
            url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-1/Laqonic4FUnicase-Medium.svg#Laqonic4FUnicase-Medium') format('svg');
        font-weight: 500;
        font-style: normal;
    }
    
    @font-face {
        font-family: 'Handelson One';
        src: url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-2/Handelson-One.eot');
        src: url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-2/Handelson-One.eot?#iefix') format('embedded-opentype'),
            url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-2/Handelson-One.woff2') format('woff2'),
            url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-2/Handelson-One.woff') format('woff'),
            url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-2/Handelson-One.ttf') format('truetype'),
            url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-2/Handelson-One.svg#Handelson-One') format('svg');
        font-weight: normal;
        font-style: normal;
    }
    
    @font-face {
        font-family: 'Proxima Nova ScOsf Cn Rg';
        src: url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-3/ProximaNovaSCond-Bold.eot');
        src: url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-3/ProximaNovaSCond-Bold.eot?#iefix') format('embedded-opentype'),
            url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-3/ProximaNovaSCond-Bold.woff2') format('woff2'),
            url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-3/ProximaNovaSCond-Bold.woff') format('woff'),
            url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-3/ProximaNovaSCond-Bold.ttf') format('truetype'),
            url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-3/ProximaNovaSCond-Bold.svg#ProximaNovaSCond-Bold') format('svg');
        font-weight: bold;
        font-style: normal;
    }
    
    @font-face {
        font-family: 'SchussHandITCStd-Bold';
        src: url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-4/SchussHandITCStd-Bold.eot');
        src: url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-4/SchussHandITCStd-Bold.eot?#iefix') format('embedded-opentype'),
            url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-4/SchussHandITCStd-Bold.woff2') format('woff2'),
            url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-4/SchussHandITCStd-Bold.woff') format('woff'),
            url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-4/SchussHandITCStd-Bold.ttf') format('truetype'),
            url('https://www.theoriginalchipwich.com/wp-content/themes/Child/fonts/font-4/SchussHandITCStd-Bold.svg#SchussHandITCStd-Bold') format('svg');
        font-weight: bold;
        font-style: normal;
    }
    
    Child theme function functions.php
    // Add custom font to font settings
    function wpex_add_custom_fonts() {
    	return array( 'Laqonic 4F Unicase', 'Handelson One', 'Proxima Nova ScOsf Cn Rg', 'SchussHandITCStd-Bold' ); // You can add more then 1 font to the array!
    }

    Did I code properly? Where is the problem? Anybody could help me?

Viewing 1 replies (of 1 total)
  • Theme Author HashThemes

    (@hashthemes)

    Hi,

    It looks like the theme you are using does not belong to us. It seems the same name with another user.

    So far the code looks fine to me.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Total wordpress doesn’t support custom fonts’ is closed to new replies.