• Resolved bobt333

    (@bobt333)


    Hi, I’m using WordPress 6.4.2, Twenty Twenty-Four (child) theme.

    When adding a quote block in a post, the default text size is huge – larger than the surrounding context. In the style settings for the quote block the typography does not appear to be set (none of the options – S/M/L/XL/XXL – are selected). When I click “L” the font size remains the same (meaning, at least to me, that the default size is “L” even though the “L” does not appear to be selected). “M” is much better.

    I know how to change that one by one, but I have many quotes. How can I make the default text size “M” for all quote blocks (i.e. “M” is always selected by default)? (preferably WITHOUT A PLUGIN). I don’t mind CSS, but I text-searched the entire WordPress install (including theme files) for “wp-block-quote” (the CSS class that WP assigns to these quote blocks) and can’t find it ANYWHERE.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bobt333

    (@bobt333)

    Scratch that, I found the answer. For anyone else who might have this question, here’s how it’s done.

    • Use site editor to edit any template (Appearance > Editor > Templates > All Archives* > Edit) * All Archives is just an example, pick any, but it doesn’t matter, we’re not really editing it.
    • Click the “Styles” icon at top right (unfortunately I don’t see how to upload screenshots here)
    • Scroll down in right styles section on right and click “Blocks”
    • Scroll down till you find “Quote” (or any other block for which you wish to set site-wide defaults). Click it.
    • Click “Save”
    • Here set styles as desired. This will apply to the whole site.
    • NOTE: You can only get to the sitewide styles settings by opening a template to edit. But when you open a template to edit and select a block, there is also an identical icon for editing styles! That one only edits the style for the selected block, not the whole site. You want the one in the far top right.

    Thanks, it’s very useful (still reading the doc…)!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can I set default font size for quote blocks?’ is closed to new replies.