-
AuthorPosts
-
July 26, 2023 at 4:35 pm #1414541
We uploaded the font and used the php code from the post: https://kriesi.at/support/topic/h1-google-fonts-roboto-slab/ that only works for h tags.
How to do the same for body or global, if that’s possible. :-)
July 27, 2023 at 7:41 am #1414613Hi BenjaminSpeedtsberg,
Once you have added the font in Custom Font Manager, you can set it to use globally in Enfold > General Styling > Fonts > Font For Your Body Text
Hope it helps.Best regards,
NikkoJuly 27, 2023 at 6:01 pm #1414699I know, but it won’t show the correct font. So is there something we can add to the php script for H tags, so it will take the <body> tag also?
July 28, 2023 at 6:42 am #1414728Hi BenjaminSpeedtsberg,
For H tags, it will show as well if you set it in Heading Font.
If that does not help, please give us temporary admin access, so we can check further.
Just post the credentials in private content.Best regards,
NikkoJuly 31, 2023 at 7:14 am #1414993login, thanks
August 3, 2023 at 10:51 am #1415319Hi BenjaminSpeedtsberg,
I apologize for the delayed response.
There’s no login page link given so I assumed it’s similar the one in private content, however, it doesn’t seem to work, please check.Best regards,
NikkoAugust 3, 2023 at 2:51 pm #1415339August 3, 2023 at 3:08 pm #1415342Hi BenjaminSpeedtsberg,
Thanks, I have checked it and the font seems to be correct (screenshot link in private content).
I compared it as well to https://fonts.google.com/specimen/Roboto+Slab and it’s similar.Best regards,
NikkoAugust 4, 2023 at 12:19 pm #1415420yes, the headings are now similar, because we used the php scripts from this topic https://kriesi.at/support/topic/h1-google-fonts-roboto-slab/
Thats why i’m seeking this php script for <p> tags. :-)
And choosing the font in the general settings is not working.
August 5, 2023 at 8:47 am #1415483Hi BenjaminSpeedtsberg,
Both the heading and body font as shown in the screenshot reflects Roboto Slab.
I tried commenting out this filter:add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
But it still remains in Roboto Slab, I tried a different browser that has never visited your website, to make sure it’s not cached and it remains the correct font.
Also, if I inspect your website, specifically the heading’s font, and this is what it shows:font-family: 'static', Helvetica, Arial, sans-serif;
Which means it is actually using the Roboto Slab font you uploaded.
Best regards,
NikkoAugust 6, 2023 at 8:01 am #1415633Okay, thanks for your help, it’s much appreciated.:-)
August 6, 2023 at 12:40 pm #1415640Hi,
Glad Nikko was able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Issues with Roboto slab font’ is closed to new replies.