Hiding Enter Password Button on password page

Solved

Hiding Enter Password Button on password page

billonmaison
Tourist
18 0 3

Hello, I want to hide the "enter password "  button on my password page for both mobile and desktop views. This is because I've decided to use the password page as an email collection page instead. I've included pictures of both views for reference.

 

URL: Billon.Maison

 

Screen Shot 2024-09-25 at 1.19.49 PM.pngScreen Shot 2024-09-25 at 1.19.12 PM.png

Accepted Solution (1)
Moeed
Shopify Partner
5501 1488 1780

This is an accepted solution.

Can you add this code in the Shopify Custom CSS in password template, it should be good then.

password-modal {
    display: none !important;
}

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 7 (7)

Moeed
Shopify Partner
5501 1488 1780

Hey @billonmaison 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
password-modal {
    display: none !important;
}
</style>

RESULT:

Moeed_0-1727296133800.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


billonmaison
Tourist
18 0 3

That did not work unfortunately. 

Moeed
Shopify Partner
5501 1488 1780

This is an accepted solution.

Can you add this code in the Shopify Custom CSS in password template, it should be good then.

password-modal {
    display: none !important;
}

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


billonmaison
Tourist
18 0 3

Do I need to add both codes from your first response and this response? Or just this last one

Moeed
Shopify Partner
5501 1488 1780

Just the last one and it should be good and looks like you already did it! 🙂

 

Best Regards,

Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


billonmaison
Tourist
18 0 3

Yup it worked thank you! 😁

 

 I have another question. How can I center my Logo on the desktop version of the password page ? The theme editor itself doesn't seem to allow me to do this. The mobile view already has the logo centered but it on the desktop view its all the way to the left. Screen Shot 2024-09-25 at 2.40.50 PM.png

Moeed
Shopify Partner
5501 1488 1780

Hey @billonmaison 

 

Add this code below the code you added.

.password-header {
    display: flex !important;
}

RESULT:

Moeed_0-1727332138513.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications