Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1336983
Child Theme Font Error
Closed

Comments

  •  1
    geig3r started the conversation

    Couldn't figure out why Montserrat-ultralight wasn't loadking.  Then found this in the child theme's custom.css

    src: url('http://thegem-wptheme.loc/wp-content/themes/TheGem/fonts/montserrat-ultralight.eot');
    src: url('http://thegem-wptheme.loc/wp-content/themes/TheGem/fonts/montserrat-ultralight.eot?#iefix') 

    Not sure if "thegem-wptheme.loc" is supposed to resolve or be replaced, but removing "http://thegem-wptheme.loc" fixes the issue.

  •  4,774
    Michael replied

    Hi, sorry, not quite sure what do you mean. Can you pls provide more details with screenshots?

  •  1
    geig3r replied

    In the child theme's custom css file (thegem-child/css/custom.css) the URL for Montserrat Ultralight starts with http://thegem-wptheme.loc/, which isn't an active URL.

    thegem-wptheme.loc’s server DNS address could not be found.

    DNS_PROBE_FINISHED_NXDOMAIN

    @font-face {
    font-family: 'Montserrat UltraLight';
    src: url('http://thegem-wptheme.loc/wp-content/themes/TheGem/fonts/montserrat-ultralight.eot');
    src: url('http://thegem-wptheme.loc/wp-content/themes/TheGem/fonts/montserrat-ultralight.eot?#iefix') format('embedded-opentype'),
    url('http://thegem-wptheme.loc/wp-content/themes/TheGem/fonts/montserrat-ultralight.woff') format('woff'),
    url('http://thegem-wptheme.loc/wp-content/themes/TheGem/fonts/montserrat-ultralight.ttf') format('truetype'),
    url('http://thegem-wptheme.loc/wp-content/themes/TheGem/fonts/montserrat-ultralight.svg#montserratultra_light') format('svg');
    font-weight: normal;
    font-style: normal;
    }

  •  4,774
    Michael replied

    Please share admin access. We will try to inspect problem on your site.

  •  1
    geig3r replied

    I already fixed it, I was just letting you know, in case others had the same problem.

  •  4,774
    Michael replied

    Thanks! Have a nice day!