A user reports a bug in the Dawn theme’s mobile view where the login button disappears when clicking the hamburger menu on the homepage, but remains visible on other pages after making the header transparent.
Proposed Solutions:
Two community members provided CSS fixes:
Solution 1: Add code to theme.liquid file (bottom, above </head> tag) using a media query targeting div#menu-drawer with height: 39vh for screens max-width 768px, conditional on index template
Solution 2: Add similar CSS code to theme.css or base.css file (bottom) with the same media query and height adjustment, marked as !important
Follow-up Question:
The original poster asks how to hide the transparent header section (logo, hamburger button part) but hasn’t confirmed if either solution resolved the login button visibility issue.
Status: Awaiting confirmation on whether the CSS fixes work and clarification on the additional hiding requirement.
Summarized with AI on November 3.
AI used: claude-sonnet-4-5-20250929.
I am using the latest version of the Dawn theme. I made the header transparent, but there is a bug in the mobile view. When the hamburger menu is clicked, the login button gets hidden. However, when navigating to other pages, the login button becomes visible when hamburger menu is clicked.