Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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. :-)

    #1414613

    Hi 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,
    Nikko

    #1414699

    I 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?

    #1414728

    Hi 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,
    Nikko

    #1414993

    login, thanks

    #1415319

    Hi 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,
    Nikko

    #1415339

    sorry!

    #1415342

    Hi 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,
    Nikko

    #1415420

    yes, 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.

    #1415483

    Hi 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,
    Nikko

    #1415633

    Okay, thanks for your help, it’s much appreciated.:-)

    #1415640

    Hi,
    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

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Issues with Roboto slab font’ is closed to new replies.