-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Header & Content/Footer alignment doesn't match. #62
Comments
I'm not totally sure what else Showcase would need. In Documentation, I added a local override of the I added a note about moving that override back to the parent theme - if this works for you in Showcase too, we definitely should just update the value in |
I spent a few moments investigating why. The overrides for the sticky menu, designed to make it align with the header are fixed: In order to have the header, content, and footer aligned. We'll need to adopt those properties and remove the clamping by overriding it ( |
After giving this a try, I think we should just remove responsive clamping on all outer containers to match the header (content & footer) for wp.org. Does anyone have any thoughts on this @ryelle @adamwoodnz @renintw ? |
Would you be able to push a branch with this? I'll find it easier to provide input after testing I think |
Header, subnav, and (as of WordPress/wporg-mu-plugins@2ca5e5b) the footer, are all responsive, it's just a cliff 80/20px rather than the scaled clamp.
Yes, that's what I was trying to suggest in #62 (comment) by showing the CSS code from documentation. Then in the templates, whatever top-level full-width container you have should get left & right padding of Once things have calmed down a little, we can look at whether |
Ok. I think we can launch with the layout as is. I'll update the milestone to reflect that. |
I've set up an issue to track fixing this in all the child themes, since if we make the change in the parent theme first, it could break alignment in the child themes. |
Closing this, if it's still valid it'll be fixed with #130. |
Footer & Content padding works the same. It uses
clamp
to provide responsive padding around the outer container. The header does not. The result is that the content does not match the header/subnav alignment.Example
I'm not certain which way we should go since the header recently went through some changes in WordPress/wporg-mu-plugins#302.
@ryelle Thoughts?
The text was updated successfully, but these errors were encountered: