-
AuthorPosts
-
April 9, 2017 at 2:54 pm #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!April 9, 2017 at 3:14 pm #774980Hey giaco_he,
So you mean the font style of the entire site changes after you log out?
Best regards,
Jordan ShannonApril 9, 2017 at 4:01 pm #774997The 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, 7 months ago by giaco_he.
April 9, 2017 at 4:11 pm #775000Hi,
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 ShannonApril 9, 2017 at 5:24 pm #775033Hi Jordan,
I tried that, unfortunately it didn’t work. I also refreshed the cache but it did not help.
April 9, 2017 at 5:31 pm #775036Hi,
If possible, please provide login info so I can look into this deeper.
Best regards,
Jordan ShannonApril 9, 2017 at 5:34 pm #775037Sure, thanks.
April 9, 2017 at 5:42 pm #775039Hi,
The text seems to be displaying correct for me. Please see the following screen and let me know if I am mistaken.
Best regards,
Jordan ShannonApril 9, 2017 at 5:53 pm #775044Yes, 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, 7 months ago by giaco_he.
April 9, 2017 at 6:03 pm #775049Hi,
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 ShannonApril 9, 2017 at 6:25 pm #775064That works, thank you!
April 9, 2017 at 6:29 pm #775065Hi,
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 -
AuthorPosts
- The topic ‘Font changes when logged out’ is closed to new replies.