How can I add a background image to my password page?

Topic summary

A user asks how to add a background image to their Shopify password page.

Two solutions are provided:

  1. CSS Method (Made4uo-Ribe):

    • Navigate to Online Store → Themes → Actions → Edit code
    • Open the CSS file (base.css, style.css, or theme.css) in the Assets folder
    • Add custom CSS targeting body.password gradient with properties for background-image URL, background-size: cover, and background-repeat: no-repeat
    • Save changes
  2. Theme Customizer Method (PageFly-Henry):

    • Go to Online Store → Customize → Password Page
    • Change background directly through the theme editor interface
    • Includes a reference image showing the customization option

Both approaches allow customization, with the CSS method offering more control and the customizer providing a simpler visual interface. The discussion remains open for the original poster to implement either solution.

Summarized with AI on November 13. AI used: claude-sonnet-4-5-20250929.

How do I add a background image to my password page?

1 Like

Hi @theSKNsolution

Im not sure which theme your using but you can check this one. The code looks like this.

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:

body.password.gradient {
background-image: url('path/to/your/image.jpg'); 
  background-size: cover; 
  background-repeat: no-repeat; 
}

And save.

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

Hi @theSKNsolution

This is Henry from PageFly - Landing Page Builder App

You can follow these steps to add a new background:

Go to Online Store → Customize → Password Page → change background like this image:

Best regards,

Henry | PageFly