• Hello, I want to remove or set the “margin-block-start” of the main tag to 0 without overriding any other margins. Is it possible to do this in the theme.json or backend settings, or do I need additional CSS for this?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • It seems you’ve figured this out yourself ready, as I see the following rendered on the homepage from the theme’s CSS:

    .wp-site-blocks > * + * {
        margin-block-start: 0 !important;
    }

    Good luck!

    Thread Starter lisamaria12

    (@lisamaria12)

    I solved it with CSS, as I couldn’t find any other option. Is there a more elegant solution or a setting for this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘delete “margin-block-start”’ is closed to new replies.