A user wants to hide the password login form on their Shopify password page to repurpose it as a pre-launch email capture landing page while keeping the site private.
Solutions Provided:
Two respondents offered CSS code to hide the password form:
Enhanced solution: Use the basic code plus additional CSS to:
Stretch the banner to full page height (--section-min-height: 100svh)
Remove padding from main content (padding: 0)
Implementation Path:
Navigate to: Online Store → Themes → Customize → Settings → Custom CSS
Both solutions directly address hiding the password form elements (input field, buttons, and text) shown in the user’s screenshot. The enhanced version provides better visual presentation by utilizing the full viewport height.
Summarized with AI on October 24.
AI used: claude-sonnet-4-5-20250929.
I’d like to continue to keep my site private, however, I’d like to hide the password form fill on the password page. Instead, I’ll be using this as an initial landing page to capture customer emails pre-launch.
I’ve tried using display: none – but I can’t seem to hide all elements of the password form including the buttons and text. Below is a photo with an outline of what I’d like to hide.
Please copy and paste the code below by going to the Online store >> Themes >> Customize >> Click on Settings icon to the left >> Scroll down to the bottom and paste it to the custom CSS tab.