How do I set padding to 0 on root?

Question: I want to eliminate the white space around full width blocks and between groups. How do I do this using Global Styles?

Answer: The theme.json file supports the setting of padding. It doesn’t support setting of margins.

If you need to reset margins then you’ll have to write some CSS.

You can do this in the style.css file

or write inline CSS that’s included in a common template part.


Global styles – theme.json

© Copyright Herb Miller, Bobbing Wide 2021