Home Forums WoodMart support forum Custom font and typography questions Reply To: Custom font and typography questions

#331445

aquadark
Participant

Please remove all the links you tried to add.

The code I quoted above is nothing I tried to add. This is the code that your theme is generating – I simply copied it from the “View Source” window to show that Italic fonts are not loaded at all if not specifically selected.

I added all the Italic font weights in the Advanced Typography tab, one-by-one, without assigning an element and the real Italic is showing now. Here is how the stylesheet is looking how:

<link rel='stylesheet' id='xts-google-fonts-css' href='https://fonts.googleapis.com/css?family=Raleway%3A400%2C600%2C800%2C500%2C700%2C400italic%2C500italic%2C600italic%2C700italic%2C800italic%2C900italic%7CMontserrat%3A400%2C600&subset=cyrillic-ext%2Ccyrillic-ext%2Ccyrillic-ext%2Ccyrillic-ext%2Ccyrillic-ext%2Ccyrillic-ext%2Ccyrillic-ext&display=swap&ver=6.2.0' type='text/css' media='all' />

I think this is not explained well-enough – I believe the theme should load the specified font weight’s italic subset (when available) by default and not force the user to add everything manually.

I will now try to add the custom font.