Tagged: local fonts
-
AuthorPosts
-
February 28, 2019 at 12:19 am #1072437
I’ve downloaded and uploaded the fonts I wanted (Open Sans & Roboto) in zip format using the Enfold upload function. It took me a few tries but I finally did it.
And even though the right sized fonts are chosen, they look different. I am adding both sites (staging with local fonts) and live (with Google fonts) and you will see what I mean. Just take a look at the H2. Everything looks way thinner on the Staging site.
Thank you, in advance!!
Havi
March 2, 2019 at 7:14 am #1073536Hey havi,
Yes it does, I’m not sure why though since both sites are using the same font and 300 weight. Is the live site a direct copy of the staging site?
Best regards,
RikardMarch 5, 2019 at 12:17 am #1074554Hi Rikard!
Yes, it is a direct copy. The only difference is the staging has the local fonts and less content (I have used it to update plugins, wordpress and the enfold theme there first to make sure it all went well but that’s it)
Would you like me to give you access to staging?
Best regards,
Havi
March 7, 2019 at 1:17 pm #1075969Hi,
The only difference between the sites is this css code.
.av-thin-font .av-special-heading-tag, .modern-quote .av-special-heading-tag { font-weight: 300; }
Did you adjust the “Heading Style”?
Best regards,
IsmaelMarch 7, 2019 at 6:07 pm #1076071Hi Ismael,
No. I am the only one who could have changed anything and if it’s on one, it should be on the other and I only modify the Child theme. Which site has that? Is that the staging site? Would you like me to delete the Enfold folder and upload a fresh new copy? Maybe something was left behind on one of the SFTP updates. (But that would have made it look different even without local fonts and it wasn’t)
Also, I noticed a new piece of CSS on the staging site that I don’t recognize (my CSS always has titles/notes so I remember their function):
span.av_font_icon {
float: left;
line-height: 17px;
}Thank you!
Havi
What does it do?
March 7, 2019 at 6:33 pm #1076079Hi Ismael,
I just switched Staging to pull the Google Fonts (Open Sans) and cleared the cache, it all displays properly. It must be that line that appears when using the Local Fonts.
Feel free to switch it back to Local Fonts and see. It’s staging site, You won’t break anything. Just let me know what I should do to be able to implement it on the Live site and on other client sites.
Thank you!!
Havi
March 11, 2019 at 11:28 am #1077268Hi,
Edit the page in the staging site and check if the special heading element’s “Heading Style” is set to “Heading Style Modern” instead of the “Default Style”.
Best regards,
IsmaelMarch 14, 2019 at 9:03 pm #1078864Hi Ismael,
Yes, all of the Titles are Heading Style Modern Centered – that’s the look on both the Staging and Live site.
Do we have to add a special CSS?
Thank you!
Havi
March 18, 2019 at 11:07 am #1079819Hi,
Thanks for the update.
Did you include the “light” style of the Open Sans font, or did you configure the font weights before downloading the font file?
Best regards,
IsmaelMarch 19, 2019 at 7:17 pm #1080465Hi Ismael,
No, there is no Light but there’s this:
Font: Open Sans ( font-family: open-sans )
italic: 300, 400, 600
normal: 300, 400, 600and this:
Font: Roboto ( font-family: roboto )
normal: 100, 300, 400, 500, 700, 900
italic: 100, 300, 400, 500, 700, 900Should I get rid of some?
Thank you!!
Havi
March 19, 2019 at 7:51 pm #1080483Hi Ismael,
I inspected the code on the live site and it uses 300 and 600, so I now uploaded Open Sans 300 and 600 and it still looks different.
The Font Selection does look different than before. Under General Setting > Fonts > Open Sans (300,600) (it used to be Open Sans)
Do they have to be uploaded separately on two different zip files?
I’m grasping at straws…. :(
Thank you!!
Havi
March 21, 2019 at 9:08 am #1081263Hi,
We are referring to the source of the font file.
// https://fonts.google.com/specimen/Open+Sans?selection.family=Open+Sans:400
Please select the font and customize it. Make sure that the “Light” style is selected and then try to re-upload it again.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.