Website Building » Shopify » How Do I Customize My Shopify Login Page?

How Do I Customize My Shopify Login Page?

Last updated on January 10, 2023 @ 6:24 pm

There are a few ways that you can customize your Shopify login page to match the look and feel of your store. With a little bit of HTML and CSS, you can change the colors, fonts, and layout of the page to match the rest of your site.

To start, you’ll need to edit the code for your login page template. In the “Templates” section of your Shopify admin, click on “Login page.” Find the <head> section of the code and add the following code:

<style>

body {
  background-color: #fff;
}

#login {
  width: 400px;
  margin: 0 auto;
  padding: 30px;
  background-color: #eee;
  border: 1px solid #ddd;
}

#login h1 {
  text-align: center;
  font-size: 24px;
}
</style>
PRO TIP: If you are not a web developer or designer, we recommend that you do not attempt to customize your Shopify login page. Doing so could result in your store being inaccessible or broken.

#login h1 {
  text-align: center;
  font-size: 24px;
}
</style>

This will change the background color of the page to white, and center the login form on the page. It will also make the form itself 400px wide, with a gray background and a 1px border. The heading will be centered and sized at 24px.

Next, you can change the colors of the input fields and buttons on the login form. Find the code for the <form> element and add the following CSS inside it:

<style>

input[type="email"], input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
 }

input[type="submit"] {
  background-color: #333;
Dale Leydon

Dale Leydon

Sysadmin turned Javascript developer. Owner of 20+ apps graveyard, and a couple of successful ones.