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
5370 1296 1587

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
5370 1296 1587

Hi @FishNook 

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

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


FishNook
Tourist
3 0 2

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

Made4uo-Ribe
Shopify Partner
5370 1296 1587

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


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.