Site logo

[Resolved] System font getting reset to google font

Home Forums Support [Resolved] System font getting reset to google font

Home Forums Support System font getting reset to google font

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #1860622
    Sunil

    I hosted roboto google font locally, now whenever I set the system font roboto in my customizer, after publishing, when I open the customizer again,it gets reset to google font roboto. Added url in private reply.

    #1860693
    David
    Staff
    Customer Support

    Hi there,

    sometimes the system gets confused when the local font name is identical to the google font name.
    You can of course rename the local fonts to get over that.
    Or if you’re not using any google loaded fonts then you can just tell GP to not load any:

    https://docs.generatepress.com/article/remove-google-fonts/

    #1860758
    Sunil

    Hello,
    Yes followed the above steps, it orks perfect!! Now there is no google font in customizer too, and I selected my local font for all typography. Now in google page speed insights still there is one googlestatic css loading which is causing render blocking issue. I have added the screenshot in private reply.

    #1860767
    David
    Staff
    Customer Support

    That requests is being made by GenerateBlocks.
    Which means you have specifically selected that font in the Post Editor. You will need to edit the GB Blocks you have assigned that font to.

    #1860797
    Sunil

    Hello,
    I checked all the blocks, and I have not selected any font there. I will add one typography screenshot in private reply, in which I used only weight and transform feature of typography and the advanced typography is off. I have the same settings across all blocks. Does this settings cause to call that google css stylesheet?

    #1860815
    David
    Staff
    Customer Support

    The Footer is built using a Block Element ( in Appearance > Elements ) – and i can see several headline blocks with that Roboto font-family applied to them.

    #1860829
    Sunil

    Hello,
    I cross-checked again the footer block, and i have done the same typography settings as I have done in above blocks.And yes while inspecting i am seeing roboto sans-serif font being called there. Can this be a caching issue? I cleared cache multiple times though but its still the same. Also the screenshot i sent in previous repl,those typography settingswhere I have turned off the advance typography, that doesnt call the google font css right?

    #1860841
    David
    Staff
    Customer Support

    You can try regenerating the GB CSS in Dashboard > GenerateBlocks Settings.
    The Show Advanced Typography option, does exactly that, it Shows / Hides the settings it doesn’t disable them.

    #1860880
    Sunil

    Hello,
    I regenerated css, and also I have chosen the external option. No I have moved the site to production domain. The problem still persists. I regenerated the css again here. Also cleared the cache. Adding the link of production site in private reply.

    #1860884
    David
    Staff
    Customer Support

    Can you provide me with temporary admin access so i can take a look?

    #1860901
    Sunil

    Yes, I will add the credentials in private reply.

    #1860904
    David
    Staff
    Customer Support

    Yeah you still have some Fonts set in the GB Block settings. See here:

    https://www.screencast.com/t/oRPEhaupo7

    You need to select each block, show the Advanced Typography and delete the Font Name.

    #1860924
    Sunil

    Hello,
    I see :D. So now this will completely eliminate the google font. Thanks a lot for help, and keeping up for this silly mistake by me :). Now I am doing those changes, its just that in the element block of footer, i am getting “Updating failed. The response is not a valid JSON response” error while updating, I tried in other pages its working fine.

    #1861766
    David
    Staff
    Customer Support

    Can you check for plugin conflicts by temporarily disabling other plugins aside of GPP and GB. I would begin with any plugins that add to the block editor.

    #1862274
    Sunil

    Hello,
    I checked for the issue, so basically the waf rules from cloudflare were blocking the gp_elements path. I excluded them by adding a firewall rule, with the reference from this topic in gp forum https://generatepress.com/forums/topic/updating-failed-the-response-is-not-a-valid-json-response/. Now it works like a charm :). Thanks a lot David for helping out, we are live now, and everything is working perfect. I will mark this topic as resolved :).

Viewing 15 posts - 1 through 15 (of 16 total)
  • You must be logged in to reply to this topic.