rupok / flexia

A modern lightweight and versatile theme for WordPress with the endless customization options through Customizer.
https://flexia.pro
11 stars 6 forks source link

Can't specify multiple font weights in Typography #31

Open brandbrilliance opened 4 years ago

brandbrilliance commented 4 years ago

Often I set the font family in the Typography section. Then in CSS, you can use multiple font-weights, or at least use the ones specified in that section.

In your theme you can only specify one weight for the body, so if you want to make something bold, it won't work, because the theme hasn't loaded the bold or 700 version of the font.

In other framework themes like Astra, which I've all tried you CAN specify multiple font-weights to load when linking the Google Font. That way the site is ready to use whatever variant you specify elsewhere on the site.

PS. otherwise, is there a kind of filter where I can "add" my bold variations to the typography section.

khan-rafin-ahmed commented 4 years ago

@brandbrilliance, Hi, there. Well, we have already added these controls in our dev version and they will soon be released, so no worries. Thank you for your suggestion.