NO BUG: Fonts doesn't work anymore in frontend

Browser: Chrome 110
OS: macOS
URL: Link deleted

I don’t know exactly why this is happening but as of this morning, fonts are displayed correctly in bricks builder during editing mode but they are no longer displayed correctly in frontend

I don’t have any custom font or theme style configured

i used Google Fonts but doesn’t work anymore and standard fonts still work

Any idea?

Hi @DoubleGJ,

I can’t reproduce this error locally, even if I use the same Google fonts as you.

But, I’ve selected all fonts that you selected and it seems that my and yours requests are different.
Can you check where you use Montserrat font and maybe remove and add it again?

Thanks,
Matej

1 Like

.in the screenshots’ page Montserrat is not present, may be it’s in header or footer?
i tryed to disable header and footer from the settings of the page but it still ask for montserrat font.

a question…if i disable the header, is it just hidden or is it eliminated from the page’s code?

also in header ad in footer Montserrat is not present

For the moment I disabled Google Fonts and used custom fonts but I must say that it is really inconvenient to insert all the variations by hand, remote Google Fonts were very convenient.

In any case, I didn’t solve the problem.

Basically I have a request for a Montferrant Font that generates the error but I haven’t been able to find it anywhere. It happens on every page, absurd.

Hi @DoubleGJ,

if you disable the header (meaning, the conditions to load it are done in a way that it will not load on certain page), then the header will not load.

Could you try disabling all plugins?

If that will not help, could you send temporary login credentials to your website and a link to this thread to help@bricksbuilder.io using the email address you used during the purchase, so we can take a look?

Thank you,
Matej

1 Like

Thanks for your reply Matej,
after many hours of testing I finally found what was causing the problem. It was really frustrating.

The site i’m talking about is in production, so I made a copy of the site on a temporary domain and disabled all the plugins and they weren’t the ones causing the problem.

In practice, in the bricks settings, in the custom code, under CSS, I had inserted a few lines to color the woocommerce discount percentage badges and to remind me, I had inserted a comment with:

/* my comment */

lo and behold, the comment markers were preventing the Google Fonts from being loaded. Once the comment was deleted, everything went back to normal.

Thank you anyway for your availability and courtesy.

I was going crazy :slight_smile:

1 Like

Ah, thank you for the response. I’m happy that it’s solved now and that it’s working. :+1: