Home Forums WoodMart support forum Google Fonts – All font-weight not generating

Google Fonts – All font-weight not generating

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #330058

    Jeriss Cloud Center
    Participant

    Dear,

    Since Woodmart v6, you introduced an “optimization” in the loading of Google Fonts that is annoying me everyday since then.

    If I’m correct, Woodmart now loads only standard font-weight. It doesn’t load all font-weight by default. This is something I do NOT want. If I choose a font-style in the typography, I want ALL font-weight to be loaded by Woodmart theme so that I can freely choose any font-weight anywhere on the site for any setting that I want.

    Kindly let me know how I disable your Google Fonts optimization in this regards

    Note: I do not want to start having to enter each font-weight in the Custom Typgraphy. This is not a solution for me.

    Thanks

    #330067

    Hello,

    You can now select any Google font and you did it in the previous versions. The difference is that WoodMart loads the font you have selected and set in the Theme Settings.

    You need to click twice for the drop-down fonts to open them all as it was in the previous versions.

    If you have any questions please feel free to contact us.

    Best Regards

    #330068

    Jeriss Cloud Center
    Participant

    Hi,

    I don’t get what you mean by “You need to click twice for the drop-down fonts to open them all as it was in the previous versions”

    Can you clarify this? Click where twice?
    Thanks

    #330089

    Hello,

    You can choose and set any Google font: https://gyazo.com/91bc5170c6c2f6a6f9ad0992040af065

    As soon as you select and set it, this font would be loaded.

    If you have any questions please feel free to contact us.

    Best Regards

    #330185

    Jeriss Cloud Center
    Participant

    Hello,

    Yes the font will be loaded but not all the font-weight will be loaded.

    AS IS : Only the selected font-weight in the list will be loaded.

    TO BE : I want ALL font-weight to be loaded even if a particular font-weight isn’t selected in the theme settings panel

    Thanks

    #330655

    Artem Temos
    Keymaster

    Hello,

    To load additional fonts you need to go to Advanced typography and choose your font without any selector. Note that it works in our 6.2 version.

    Kind Regards

    #330759

    Jeriss Cloud Center
    Participant

    Hi Artem,

    Thank you for the workaround.

    Tough, I think that there should be a better/easier way to do this by adding a theme settings :

    Load all font-weights : Yes/No

    by default : no

    Enable this setting if you wish to load all the font-weights of any particular font used on the frontend of your site. Disable if you wish to load only the font-weights selected in Typography section

    Could you take this into account please?

    Thanks
    Simon

    #330762

    Artem Temos
    Keymaster

    Hello,

    But this option is bad for performance. It is much better to load only those fonts that you use.

    Kind Regards

    #330766

    Jeriss Cloud Center
    Participant

    Hello,

    I’ve adjusted my comment above, please check the modification.

    Indeed, it’s bad for performance but why do I ask it? There is a good reason.

    Assume that I use only 1 font (e.g. Lato) and I select 2 font-weights on the theme settings (400 and 500). This means that only those 2 font-weights will be loaded on the site.

    Now the problem is the following. If I build a page on WPBakery and I select 300 for instance in the visual composer. This 300 will not be loaded (even tough I want this 300).

    There comes your workaround that is now to add this 300 in the Advanced Typography => OK clear.

    But what if I use many font-weights across 2 fonts? This becomes annoying for every site that I build, I’d need to always add 1 by 1 in Advanced Typography the font-weights I want to add.

    I hope this clarifies my point
    Thanks

    #330771

    Artem Temos
    Keymaster

    Of course, your point is totally clear. We just want to prevent people who don’t know much about performance from always enabling this option to be sure that all fonts are loaded correctly. That is why we decided to leave the only way to add additional fonts using Advanced typography one by one. And it is not a good practice to use so many font weights. 2-3 weights per font family should be enough for good UX/UI.
    Anyway, we will take into account your feedback.

    #330772

    Jeriss Cloud Center
    Participant

    I understand your answer also. I just think that, if well described, users won’t misunderstand it. I’m perfectly aware indeed that in general 2 fonts should be the maximum and 2-3 font-weights too.

    However, the current way it works isn’t the best neither. So I’d appreciate if you could find a solution so I don’t need to enter each font-weight 1 by 1 per font.

    A setting as described above should be fine, with also

    We recommend you to keep this disabled.

    Of course if you find an even better way : automatically detect used font-weights across the site, then it would be awesome => i’m sure you could look into OMGF on how they do it.

    Thanks
    Simon

    #330813

    Jeriss Cloud Center
    Participant

    Or what if, in Advanced Typography, I select “font-weight: 300” without selecting a font.

    Will this load the 300 of ALL fonts used across the site? Could this be solution?

    Thanks
    Simon

    #330820

    Artem Temos
    Keymaster

    No, the font-weight should be specified also.

Viewing 13 posts - 1 through 13 (of 13 total)