Help adding password form to center of Password Page

Topic summary

Goal: Center and refine the Shopify password page layout (Spotlight theme) to match provided mockups/GIF logo.

What worked: A CSS tweak fixed centering and spacing.

  • File: section-password.css
  • Key rules applied: center .password-form, reduce .password-modal__content top padding, and adjust top margin/padding for the section. This produced a centered password form as shown in the shared result screenshot.

New requests (unresolved):

  • Restore header and footer after they were hidden via base.css (.password-header, .password__footer { display:none !important; }). Add a centered animated logo in the header.
  • Align countdown app, built-in password form, and Klaviyo email form for desktop and mobile to minimize scrolling.
  • Place social icons at the bottom—clarification sought on adding to footer vs. body.

Additional community questions (unanswered):

  • How to show an inline password input on the page instead of Spotlight’s default “Enter password” modal.
  • How to center the “Enter your password” section mid-page when it stays at the top.

Status: Initial centering issue resolved with CSS; thread remains open for header/footer restoration, footer/social placement, and converting modal to inline password form. Images/GIF are central to the intended design.

Summarized with AI on December 14. AI used: gpt-5.

Hi everyone,

I’m currently working on my password page and would like it to look like the following:

3dgifmaker58819.gif
→ This is the image you see above.

The template I’m currently using is the Spotlight Shopify Template.

I would appreciate any coding help!

1 Like

Hi @Thunderzee

Can I take a look, Would you mind to share your store URL? Thanks!

Hi @Made4uo-Ribe

Sure thing! The domain is nostalcart.com

I appreciate the help!

1 Like

Thanks for the info,

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 “section-password.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-form {
    justify-content:center;
    margin-top: 1rem !important;
}
.password-modal__content {
    padding-top: 0px !important;
}
.section-template--15373018071119__custom_liquid_w776RD-padding {
    margin-top: 10rem;
    padding-bottom: 0px !important;
}

And Save.

Result:

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

1 Like

@Made4uo-Ribe I cannot thank you enough! Worked like a charm :slightly_smiling_face:

1 Like

Welcome. :blush:

If you don’t mind @Made4uo-Ribe , I do need a final stretch of help to complete my password page.

This is what I’m trying to make the page look like:


.

I made the mistake of removing the header and footer from the password page by using the following codes (pasted on base.css):

.password-header {
display: none !important;
}
.password__footer  {
display: none !important;
}

I want to bring back both header and footer - adding the following image centered in the header:

3dgifmaker58819.gif

The countdown feature is an app added, the password form was already part of the page, and the email form is an extension of Klaviyo.

The page just needs some realigning with the forms. I’m just making sure it looks presentable on both desktop and mobile versions - preventing the user from having to scroll much.

The social media icons ideally would have to sit at the bottom of the page - is it possible to add them as such to the footer section? Or is it better to add it to the body of the page?

Your help is much appreciated!

Cheers!

Thanks!
This worked for me too. However, do you know how to get the password input box on there? Right now it’s only showing “Enter using password” https://d7986e-58.myshopify.com/password

hey @Thunderzee

I’m also using the spotlight theme, my default password page shows users have to click “enter password” which opens a modal window.

how did you manage to add a form on the page instead of a modal window?

Thanks in advance

did you manage to get it?

Hi Thunderzee, Love your website. I’m actually using the same theme as you, and I’m wondering how you managed to have the ENTER YOUR PASSWORD in the middle of your website. Could you please share the code? i’m trying to edit mine but it’s fixed on the top