Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #628672

    Hi,

    I am trying to implement Google fonts for my slider. I added the following code to CSS on my font layer

    font-family: ‘Open+Sans’, sans-serif; font-weight: regular;

    It works fine in Chrome, but on IE, it does not read the Google font right away. If I inspect the element, it will switch over, but if I refresh, then it reverts to the default font.

    Any ideas why IE is not reading the google font from the get go?

    #628716

    Hey xuamox!

    What IE version are you using?
    I tried on latest version and it was working properly.
    if it is on version 7 or 8, please add the following to your header file

    <!--[if lte IE 8]>
        <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400" /> 
        <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:700" /> 
        <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:800" />
    <![endif]-->

    thanks a lot

    Cheers!
    Basilis

    #630216

    I am using IE 11. Perhaps I am caching something somewhere?
    I will ask other users to see if they see what I see.
    I will keep you posted.

    Thanks

    #630253

    Hi!

    Sure keep us posted, we will do our best to assist you further if needed.

    Best regards,
    Basilis

    #661468

    Hi there,

    I have the same effect.
    We have the newest Enfold version.

    In custom.css we added code like this for IE:

    @media screen\0 {
    	@font-face {
    	  font-family: FF-DIN-Round-Pro-Black;
    	  src: url('../fonts/DINRoundWeb-Bold.eot');
    	  src: url('../fonts/DINRoundWeb-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/DINRoundWeb-Bold.woff') format('woff'), url('../fonts/DINRoundComp-Bold.ttf') format('truetype');
    	  font-weight: 800;
    	  font-style: normal;
    	}
    .....
    

    It is working everywhere in IE11, but not in the layer slider.

    When I inspect the element in IE, the text toggles into the right font.

    Thanks for any assistance!

    Holger.

    #662743

    Hi,

    How did you apply the font in the layers? Did you use the Custom CSS field?

    Best regards,
    Ismael

    #663060

    Hi Ismael,

    in the layers we are using paragraphs and H2. In the custom.css file we styled like this:

    h2 {
        font-family: FF-DIN-Round-Pro-Medium, sans-serif;
        font-size: 1.6rem;
        font-weight: 300;
    }
    h2 strong {
        font-family: FF-DIN-Round-Pro-Bold, sans-serif;
        font-size: 1.6rem;
        font-weight: 500;
    }
    p {
        font-family: FF-DIN-Round-Pro-Regular, sans-serif;
        line-height: 140%;
        margin-top: 0px !important;
        font-weight: 300;
    }
    p strong {
        font-family: FF-DIN-Round-Pro-Bold, sans-serif;
    }

    Best regards
    Holger

    #664404

    Hi,

    Thanks for the info. Try to put the font-family property in the layers’ Styles > Custom CSS field so that it’s inline.

    Best regards,
    Ismael

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