Skip to content
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

Update headers and theme responsiveness #397

Merged
merged 29 commits into from Oct 23, 2019
Merged

Update headers and theme responsiveness #397

merged 29 commits into from Oct 23, 2019

Conversation

richtabor
Copy link
Contributor

This PR is a hefty one that I started to clean up minor issues I found. Here's what's new:

  1. I improved the header functionality to style the header variations using CSS only, making things much simpler throughout the header variation logic. This lays the foundation for easily extending the header in the future (i.e. adding social to the header, a call to action button, cart icon, etc), without having to tweak each of the header partials.

  2. I improved the responsive nature of the theme, using fluid vm's instead of hard snapping breakpoints for the vertical spacing between blocks. The breakpoints that do exist were also tweaks to resemble that of which CoBlocks uses (which is what Gutenberg uses) - to ensure fluid transitions by using same breakpoints.

  3. I cleaned up the markup associated with the header and greatly improved how it handles long menus, as well as it's responsive nature.

  4. The mobile navigation component has been rewritten to work better on mobile and inherit custom styling choices from the Customizer.

  5. Search now displays on each of the header variations, laying the groundwork for adding an option to turn off search within the Customizer.

Note:
While the search toggle is styled properly here, the new search bar that @jrtashjian is working on is not included in this PR. That should be completed before we do our next release.

@richtabor richtabor self-assigned this Oct 23, 2019
@richtabor
Copy link
Contributor Author

@EvanHerman What do you think would be the best way to handle this?

@EvanHerman
Copy link
Contributor

@EvanHerman What do you think would be the best way to handle this?

@richtabor hmm...Can we determine it with JS on page load?

@richtabor richtabor merged commit 1ed703c into master Oct 23, 2019
@richtabor richtabor deleted the update-headers branch October 23, 2019 21:57
@EvanHerman EvanHerman added this to the 1.2.0 milestone Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants