[wp-trac] [WordPress Trac] #63499: wp-signup and wp-activate page ui looking broken
WordPress Trac
noreply at wordpress.org
Thu May 29 06:39:04 UTC 2025
#63499: wp-signup and wp-activate page ui looking broken
-------------------------------------------------+-------------------------
Reporter: umesh.nevase | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion has- | Focuses: multisite
screenshots |
-------------------------------------------------+-------------------------
Comment (by sabernhardt):
I would add styles in the `wp-includes/theme-compat/header.php` template
such as:
{{{
<style>
:where(#header, #footer) {
padding-left: 5%;
padding-right: 5%;
}
</style>
}}}
- The `:where()` specificity makes it easier for themes to override the
style, especially if it only edits the padding (instead of **both**
`margin` and a `width` or `max-width`).
- Classic themes have required their own header and footer PHP templates
for many years. As a result, almost every time someone gets the markup
from the `theme-compat` fallback now should involve these multisite pages
with a block theme (and those hopefully would use templates from the theme
soon).
If the styles are updated before the real fix can be completed, I would
also like to make several [https://github.com/sabernhardt/wordpress-
develop/pull/36/files changes to the markup]. That PR on my fork seems
about ready to move it to the main `wordpress-develop` repository for
discussion and review. (Should I connect it to this ticket?)
New body classes should not be necessary for this CSS, but they could help
on #43536.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63499#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list