Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: How do I hide the Password Login form on the Password page using CSS code

Solved

How do I hide the Password Login form on the Password page using CSS code

FishNook
Tourist
3 0 2

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.

Thanks in advance for the help!

JaredScreen Shot 2023-12-07 at 2.45.06 PM.png

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
9039 2160 2665

This is an accepted solution.

Thanks, check this one. I also hide the shopify footer. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.password__login, footer.password__footer {
    display: none;
}

 

  • If this wont work add !important before the ; semi colon.
  • And Save. 
  • Result:
  • Made4uoRibe_0-1701988923472.png

     

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
9039 2160 2665

Hi @FishNook 

Would you mind to share the URL of the password page? Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
FishNook
Tourist
3 0 2

Sure! Here you go: https://f550db-4.myshopify.com/

Made4uo-Ribe
Shopify Partner
9039 2160 2665

This is an accepted solution.

Thanks, check this one. I also hide the shopify footer. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.password__login, footer.password__footer {
    display: none;
}

 

  • If this wont work add !important before the ; semi colon.
  • And Save. 
  • Result:
  • Made4uoRibe_0-1701988923472.png

     

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
FishNook
Tourist
3 0 2

That worked! Thank you!

Will that code have any implications elsewhere on my site? Or only impact the password page? I'd like to make sure it's specific, only to the password page.