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

Tutorial - Adding a sticky header or banner #1435

Open
15 tasks done
westnz opened this issue Mar 22, 2023 · 11 comments
Open
15 tasks done

Tutorial - Adding a sticky header or banner #1435

westnz opened this issue Mar 22, 2023 · 11 comments
Assignees

Comments

@westnz
Copy link
Collaborator

westnz commented Mar 22, 2023

Topic Description

Users can now position the Navigation Bar to stick to the top of the screen by nesting the Header inside a Group block and selecting “Sticky” from the Position option.

Related Resources

Links to related content on Learn, HelpHub, DevHub, GitHub Gutenberg Issues, DevNotes, etc.

  • [ ]

Guidelines

Review the team guidelines

Tutorial Development Checklist

  • Vetted by instructional designers for content idea
  • Provide feedback of the idea
  • Gather links to Support and Developer Docs
  • Review any related material on Learn
  • Define several SEO keywords to use in the article and where they should be prominently used
  • Description and Objectives finalized
  • Tutorial created and announced to the team for Q/A review
  • Tutorial reviewed and ready to publish
  • Tutorial submitted and published to WPTV
  • Tutorial published on WPTV
  • Tutorial captioned
  • Tutorial created on Learn.WordPress.org
  • Tutorial post reviewed for grammar, spelling, etc.
  • Tutorial published on Learn.WordPress.org
  • Tutorial announced to Marketing Team for promotion
@westnz westnz added [Component] Content Website development issues related to the content on Learn. [Audience] Users labels Mar 22, 2023
@westnz westnz self-assigned this Mar 22, 2023
@westnz westnz moved this to 🚧 Drafts in Progress in LearnWP Content - Development Mar 22, 2023
@westnz westnz changed the title Tutorial - Sticky Positioned Blocks Tutorial - Adding a sticky header or banner Mar 23, 2023
@courtneyr-dev
Copy link
Collaborator

Hey @westnz, the weird work around in this release is to add the header template part inside a group from the template page (Home, etc). Once in a group block, it'll be sticky. Less ideal, but should see a fix in 6.3

@westnz
Copy link
Collaborator Author

westnz commented Mar 23, 2023

Yes, that's correct, Courtney. One thing I also noticed is changing the Group block's background colour; otherwise, it is transparent. Thanks!

@westnz
Copy link
Collaborator Author

westnz commented Mar 24, 2023

Sticky.Positioned.Blocks.Tutorial.mp4

@westnz westnz moved this from 🚧 Drafts in Progress to 🔎 Review in Progress in LearnWP Content - Development Apr 3, 2023
@wparasae
Copy link
Collaborator

wparasae commented Apr 5, 2023

This looks fantastic, Wes! Concise and easy to follow.

Optional addition: The only “gotcha” I’ve had with this feature is that sometimes the group block adds extra padding (Twenty Twenty-Three does this). You might consider mentioning that it may take some adjustments to the group and navigation block to get the desired effect.

@westnz
Copy link
Collaborator Author

westnz commented Apr 11, 2023

@westnz westnz closed this as completed Apr 11, 2023
@github-project-automation github-project-automation bot moved this from 🔎 Review in Progress to 📜 Published or Closed in LearnWP Content - Development Apr 11, 2023
@courtneyr-dev
Copy link
Collaborator

WP 6.4
Patterns: add a sticky header and pagination to make browsing patterns more user friendly (52663).

@courtneyr-dev courtneyr-dev reopened this Oct 11, 2023
@github-project-automation github-project-automation bot moved this from 📜 Published or Closed to 🚧 Drafts in Progress in LearnWP Content - Development Oct 11, 2023
@courtneyr-dev courtneyr-dev added hacktoberfest To mark issues for the Hacktoberfest event each October. 6.4 labels Oct 11, 2023
@westnz westnz closed this as completed Oct 11, 2023
@github-project-automation github-project-automation bot moved this from 🚧 Drafts in Progress to 📜 Published or Closed in LearnWP Content - Development Oct 11, 2023
@courtneyr-dev
Copy link
Collaborator

WP 6.4 It is now also available for others patterns
Sticky header bar on Patterns page. Does it need a full revision @westnz ?

@courtneyr-dev courtneyr-dev reopened this Oct 16, 2023
@github-project-automation github-project-automation bot moved this from 📜 Published or Closed to 🚧 Drafts in Progress in LearnWP Content - Development Oct 16, 2023
@westnz
Copy link
Collaborator Author

westnz commented Oct 16, 2023

Hey @courtneyr-dev
Thanks for flagging this again. I got confused as the link you shared is not about creating sticky headers, but only about the header bar on the Patterns page in the Site Editor being sticky.

I see now that patterns will also be able to become sticky, so a full revision is required. 👍

@kaitohm kaitohm added fields-done and removed [Component] Content Website development issues related to the content on Learn. Review 1 complete hacktoberfest To mark issues for the Hacktoberfest event each October. labels Dec 5, 2023
@westnz westnz assigned westnz and unassigned westnz Jan 23, 2024
@westnz
Copy link
Collaborator Author

westnz commented Jan 23, 2024

I will possibly update and reuse as part of the User learning pathway.

@Piyopiyo-Kitsune
Copy link
Collaborator

@westnz Do you think we will be reusing this?

@westnz
Copy link
Collaborator Author

westnz commented Jun 26, 2024

Yes, as a standalone lesson but it needs to be updated at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🚧 Drafts in Progress
Development

No branches or pull requests

5 participants