[wp-trac] [WordPress Trac] #58004: not possible to change default margin for <footer>
WordPress Trac
noreply at wordpress.org
Tue Mar 28 16:41:12 UTC 2023
#58004: not possible to change default margin for <footer>
--------------------------+-----------------------------
Reporter: thomask | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: |
--------------------------+-----------------------------
Footer element is affected by global block style (in twenty-three-theme,
as probably the most others site edit gutenberg themes)
{{{
.wp-site-blocks > * + * {
margin-block-start: 1.5rem;
}
}}}
but the footer element itself do not have option to change margin. So the
only way how anyone can change/delete this margin is to add the extra
definition for footer to the stylesheet, what is somehow against the
gutenberg principes IMO.
the same is for header element, but there is no default margin (as this
css one affect all but the first one), but i guess if there would be a
change for footer block, it should be for header as well
It is a problem when you got different background for the last block
before the footer - it creates a white 1.5rem wide line between this block
and footer, so maybe it should be omited for footer by default anyway
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58004>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list