Skip to content

Can't specify multiple font weights in Typography #31

@brandbrilliance

Description

@brandbrilliance

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions