SOLVED: Font weights aren't all loaded (via google fonts)

  • It seems that the bolder fonts aren’t loaded even when the number is set high

  • I also get a different editor vs FE display of font weights too (however, incognito matches the editor - which is incorrect too - as I’ve chosen a 700-900 font and it’s displaying a 500-600)

I assume all of these issues are due to not all font weights are loaded atm

Hi Dean,

Thanks for your report!

As you can see in the google specs for DM Sans, there are only three weights available:
400, 500, and 700. So 300, 600, 800, and 900 won’t affect. I did a short screen recording about this: https://vimeo.com/679432145/2bc77f5606

The only problem/bug we have (sometimes) is that the font-weights won’t update accordingly. I did some more tests with other google fonts that seem to show the available weights correctly, but I’ve added it to our bug tracker to investigate a bit more.

Best regards,
timmse

1 Like

My problem was a little different, but I found out what’s causing the issue I was referring to:

Hi Dean,

I’ve added this to the font-weight task as well, as it is somehow related.

Best regards,
timmse

Hello. It seems like I watching the same issue.

@Deanphillips could you please check the next thing:

  1. Select Heading element
  2. Set the font family individually for the element. That’s important
  3. Choose the needed font weight

If you have the same bug as me, then this should work. If this is confirmed, then I will explain the problem to the developer on my part.

I’m also having a problem – I can’t get Roboto to display as 900 on the frontend. In Theme Settings > Heading H3 > Typography, I’m setting my font to Roboto 900 Normal. In the builder, I can see the font-weight difference between 700 & 900, but on the frontend, 700 & 900 are the same weight.

I am closing this thread since the new “Font variants” typography theme style setting introduced in Bricks 1.5.1 should have fixed this limitation of having to select the Google font family + weight on an individual element: https://bricksbuilder.io/changelog/#5717