Site logo

Archived topic

padding around buttons on pages

3 replies · Started by Matthew on October 7, 2019

Viewing posts 1–4 of 4

How do I adjust spacing between buttons on pages. I'm not seeing them stack up like this anywhere else.

Hi there,

try this CSS:

.wp-block-button {
    margin-bottom: 0.5em;
}

That works. Interesting that we need custom css to adjust that and the default doesn't make any sense. Any plans to add it to the theme customizer?

Its the Gutenberg CSS unfortunately - they leave this rather wide grey zone as to what should be block CSS and what should be in the theme.

We're expecting Gut will move more styles to the block level over time so reluctant to add it to the Theme. We're also developing our own block plugin which will provide a better button solution.

This archived topic is closed to new replies.