From d06f3804d9681a7cc15fe42bc4d74fd57845c0fa Mon Sep 17 00:00:00 2001 From: Carolina Nymark Date: Mon, 14 Oct 2024 16:20:45 +0200 Subject: [PATCH] Remove the top margin from the footer template part --- assets/css/editor-style.css | 8 ++++++++ style.css | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/assets/css/editor-style.css b/assets/css/editor-style.css index 13b91baa..17d75cd1 100644 --- a/assets/css/editor-style.css +++ b/assets/css/editor-style.css @@ -6,3 +6,11 @@ a { text-decoration-thickness: 1px !important; text-underline-offset: .1em; } + +/* + * Remove the top margin from the footer template parts. + * https://github.com/WordPress/gutenberg/issues/47637 + */ +footer.wp-block-template-part { + margin-block-start: 0; +} diff --git a/style.css b/style.css index 8691748e..8785975c 100644 --- a/style.css +++ b/style.css @@ -44,3 +44,11 @@ h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p { .more-link { display: block; } + +/* + * Remove the top margin from the footer template parts. + * https://github.com/WordPress/gutenberg/issues/47637 + */ +footer.wp-block-template-part { + margin-block-start: 0; +}