-
Notifications
You must be signed in to change notification settings - Fork 64
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
fix: correct issue with Mobile CTA gap #1594
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ran into a weird style with Center Logo on (step 10) on non-simplified headers. With a site description, at the breakpoint between 780px and 980px, the site description ends up floating weirdly below and to the right of the logo:
I would expect the behavior at this breakpoint to look more like it does without Center Logo on:
Separately, I also notice that on the homepage at the smallest breakpoint, my default/square logo seems to have a bit of extra side padding that doesn't appear at other breakpoints (this seems to happen any combination of header/logo settings). This also happens with the subpage header but only on AMP pages:
I would expect this to be flush-left like it is at larger breakpoints.
Lastly, at the smallest breakpoint the admin bar overlaps the site header. This only seems to happen on non-AMP pages, though, so it's probably an edge case.
@laurelfulford This is same as we were discussing here |
Thanks for both of these, @dkoo! They don't actually seem to be relate to these changes, but just kind of weird behaviour that's built up with the header over time as features were added :) Best I can tell, they are:
I'm working on fixes, but depending on how convoluted they are it may make sense to break them into separate PRs so this doesn't get to be too much to test; I'll follow up once I have that figured that out!
This isn't actually related to this PR - it happens when AMP is half-on for lack of a better way to put it (like if AMP is technically disabled on a page, but you have Campaigns enabled). I did create a theme issue for it here, though it doesn't actually have anything to do with the theme --- it's weird visual issues that happen when you have only some of the styles from AMP, but not everything (if that makes sense!).
@yogeshbeniwal That sounded like it was an issue with extra vertical space around the logo, rather than extra horizontal space, so I don't think it's the same thing (unless I've misunderstood your comment there!). Can you please create a new GitHub issue for that, including the Customizer settings you're using and some screenshots of the issue happening? That could help us recreate the issue so we can dig into it further (or rule out if it is indeed the same thing) -- thank you! |
That makes sense—I'm okay with moving those two bugs to their own issues and then re-reviewing this PR without testing them, just let me know! |
Thanks @dkoo! I'm now looking at fixing some other issues with the sticky header and logo sizing that I think at least overlap one issue you found here (the smaller logos kind of floating in the middle of the space), so I'm going to break these out into smaller issues so I don't mess anything up 😐
Thanks for finding these! I'm going to set this back to needing review again, but please let me know if you have any questions or run into further issues! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the new issues—since those encompass all the requested changes, I think we can move ahead with this PR.
Thanks @dkoo! |
## [1.55.2-alpha.1](v1.55.1...v1.55.2-alpha.1) (2021-12-15) ### Bug Fixes * correct issue with Mobile CTA gap ([#1594](#1594)) ([0e1bb70](0e1bb70)) ### Performance Improvements * disable lazy load for featured images ([#1616](#1616)) ([d1af327](d1af327)) * load amp-plus.js async ([#1620](#1620)) ([0ae63ef](0ae63ef))
🎉 This PR is included in version 1.55.2-alpha.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
## [1.55.2](v1.55.1...v1.55.2) (2021-12-15) ### Bug Fixes * correct issue with Mobile CTA gap ([#1594](#1594)) ([0e1bb70](0e1bb70)) ### Performance Improvements * disable lazy load for featured images ([#1616](#1616)) ([d1af327](d1af327)) * load amp-plus.js async ([#1620](#1620)) ([0ae63ef](0ae63ef))
🎉 This PR is included in version 1.55.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
All Submissions:
Changes proposed in this Pull Request:
Pairing the short header, simplified subpage header, and mobile CTA together can cause weird gaps in the header. This is because the 'default' and 'short' header switch to the mobile version of the header at different breakpoints, and this was not taken into consideration with how the simplified subpage header works.
This PR (hopefully!) addresses that by making the simplified subpage header more consistent with the header used on the homepage.
Closes #1466.
How to test the changes in this Pull Request:
npm run build
.Other information: