• Resolved KS

    (@karl19)


    Hello, I’ve been trying to figure out how to add text and background colours to the core quote block.

    At first I thought it would be possible with the new theme.json setup, but I can’t get colours to show, so I guess the quote block doesn’t allow for these options to be added via JSON settings?

    Would be interested to hear if anyone has managed to get this to work?

    • This topic was modified 2 years, 11 months ago by Jan Dembowski.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    Try reviewing this documentation on quote block at https://www.ads-software.com/support/article/quote-block/

    It reads, in part:

    When you click on the “Transform” button you can convert the Quote block into another block type, by using the existing content.

    You can transform the Quote block into “Group” block, “List” block, “Heading” block, or “PullQuote”. The “Group” would give you the ability to change the background color around the Quote.

    Thread Starter KS

    (@karl19)

    Hi @t-p , many thanks for the reply!

    I didn’t know one could transform the quote block that way, that’s interesting. I must admin that I don’t find it quite logical, having to transform the block into a group to change the text or background colour – rather than simply having the colour palette directly in the quote block?

    In my use case, I have an SVG image added into the quote block (via the render_block filter). I want its fill colour to use the text colour I select for the quote text. Transforming the quote into a group block, I can now update the quote text colour and it changes my SVG colour, so that works now – thanks! To my mind, it would still make more sense if one could add the colour palette directly to the quote block instead.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Colours in quote blocks’ is closed to new replies.