core/quote layout using theme.json
-
Currently we’re probably all learning all new WP functions, blocks, patterns and so on. The new theme.json is truly great, it’s just hard to find documentation and examples.
I’m trying to layout the quote block using the theme.json file.This works
"core/quote": { "typography": { "fontFamily": "GT-Walsheim-Bold", "fontSize": "48px", "lineHeight": "52px", "fontStyle": "italic" }, "color": { "text": "black" }, "border":{ "radius": "0", "color": "#000", "style": "solid", "width": "0", "color": "#000" }, "spacing": { "margin": { "top": "0", "right": "auto", "bottom": "0", "left": "auto" }, "padding": { "top": "0", "right": "0", "bottom": "0", "left": "0" } } },
But the next step would be, changing the citation but I can’t figure out how. I’ve tried adding
"citation": { "typography": { "fontSize": "24px", "fontStyle": "normal", "fontWeight": "400" }, "spacing": { "margin": { "top": "0", "right": "auto", "bottom": "0", "left": "auto" } }, "color": { "text": "aqua" } }
with no luck..
Also I would like to hide the other quote styles.The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘core/quote layout using theme.json’ is closed to new replies.