Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #774970

    Hey,
    I tried to set my normal text font (Open Sans) to light or ‘hell’. And it works fine, but when I’m logged out it changes back to the standard Open Sans font. I already found another entry in the forum where the solution was to make changes or add code to the functions.php. I tried making changes to the functions.php and it f*cked my site up so I had to reset it to the last backup. I just want the text font to stay light or ‘hell’, even when logged out. Isn’t there a code I can paste into the Quick CSS?
    Thank you!

    #774980

    Hey giaco_he,

    So you mean the font style of the entire site changes after you log out?

    Best regards,
    Jordan Shannon

    #774997

    The headings stay the same which is fine since they are in a different font family (Questrial).
    But the font weight of Open Sans changes from ‘Hell’ (which means light) to ‘Standard’ on the whole site when logged out. I changed that in Enfold –> Advanced Styling –> Select an element to customize –> HTML tags –> I selected <p> and <body> and changed the font weight to ‘Hell’. So basically it seems as if my changes to the font are just ignored when I log out.

    • This reply was modified 7 years, 8 months ago by giaco_he.
    #775000

    Hi,

    Try adding the following to quick css:

    
    @import url('https://fonts.googleapis.com/css?family=Open+Sans:300');
    
    p{
    font-family: 'Open Sans', sans-serif!important;
    }
    

    Best regards,
    Jordan Shannon

    #775033

    Hi Jordan,

    I tried that, unfortunately it didn’t work. I also refreshed the cache but it did not help.

    #775036

    Hi,

    If possible, please provide login info so I can look into this deeper.

    Best regards,
    Jordan Shannon

    #775037

    Sure, thanks.

    #775039

    Hi,

    The text seems to be displaying correct for me. Please see the following screen and let me know if I am mistaken.

    https://snag.gy/aZSNYn.jpg

    Best regards,
    Jordan Shannon

    #775044

    Yes, when you are logged in it works. But as soon as you log out of the back end and access the site, the font changes from light to standard again.
    https://www.pic-upload.de/view-32978053/Bildschirmfoto2017-04-09um17.50.45.png.html –> standard font (not good)
    https://www.pic-upload.de/view-32978067/Bildschirmfoto2017-04-09um17.55.22.png.html –> light font (good)

    • This reply was modified 7 years, 8 months ago by giaco_he.
    #775049

    Hi,

    Have you tried adding a link directly into the theme header right befor the  </head> tag?

    <link href="https://fonts.googleapis.com/css?family=Open+Sans:300" rel="stylesheet">

    Best regards,
    Jordan Shannon

    #775064

    That works, thank you!

    #775065

    Hi,

    No problem at all! I’m glad we were able to get this solved. If you need additional help please contact us here on the forums.

    Best regards,
    Jordan Shannon

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Font changes when logged out’ is closed to new replies.