[Support request] How to override / change font presets

Home Forums Support [Support request] How to override / change font presets

Home Forums Support How to override / change font presets

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2235162
    Ben

    How can we change or override the preset font sizes such as has-small-font-size ??

    #2235546
    Ying
    Staff
    Customer Support

    Hi Ben,

    Are you trying to bulk override the has-small-font-size class?

    If so, try this CSS:

    body {
        --wp--preset--font-size--small: 25px !important;
    }
    #2237991
    Ben

    It seems to be a preset that appears when you use GenerateBlocks Pro.
    text preset sizes

    #2238363
    Ying
    Staff
    Customer Support

    Your screenshot doesn’t look like GB’s typography section.

    GB or GP doesn’t add has-small-font-size class to text blocks, it looks like WP’s global style.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.