Help to remove Header on Homepage and all pages and on the scroll on Banner on Dawn Theme

Topic summary

A user seeks to create a transparent header with their logo visible on the homepage’s overlay banner, while removing the sticky header behavior on scroll. Currently, disabling the sticky header option causes display issues in preview mode.

Proposed Solution:

  • Another user suggests adding custom code to the theme.liquid file, specifically targeting the homepage template using conditional markup.

Implementation Issue:

  • After applying the code, the logo and header shifted completely to the left side on the homepage instead of remaining centered like on other pages.
  • The user who provided the solution reports that the layout appears correct on their end, suggesting a potential caching issue or implementation discrepancy.

Current Status:

  • The discussion remains open with the centering problem unresolved from the original poster’s perspective, though screenshots show conflicting views of the current state.
Summarized with AI on November 11. AI used: claude-sonnet-4-5-20250929.

Hi thank you for the code.

For some reason though on my homepage, the logo and header is completely on the left side and not centered like the other pages. How can i adjust?