[Resolved] padding around buttons on pages

Home Forums Support padding around buttons on pages

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1028938
    Matthew

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

    #1029193
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

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

    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?

    #1029262
    David
    Staff
    Customer Support

    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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.