How can I centre the logo on the password page

54 1 7

I'm using the dawn theme for shopify and I want the logo to be centred like how it is on mobile



Replies 5 (5)

Shopify Partner
6047 1452 1790

Hi @rene94 

Check this one. 

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-header {
    display: grid;
    grid-template-columns: 1fr;


And Save. 



If its not working add !important


.password-header {
    display: grid;
    grid-template-columns: 1fr !important;


And Save.


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

Please don't forget to 



Mark Solution 

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

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Shopify Partner
2967 571 899

@rene94@rene94, do this to fix it in 20 seconds:

1. In your Shopify Admin go to: online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:

@media (min-width: 750px){
[id*='password'] .password-header{
    display: flex !important;




If it helps you please click on the "like" button and mark this answer as a solution!

Thank you.

Kind regards,

1119 201 220


This is Noah from PageFly - Shopify Page Builder App


Hi @rene94  please add code here to fix it:

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file theme.liquid
Step 3: Add code above the tag </head>


@media only screen and (min-width: 767px)
.password-header {
    display: flex !important; 
    justify-content: center !important;


Hope my solution will help you resolve the issue.


Best regards,

Noah | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!

PageFly - #1 Page Builder for Shopify merchants.

All features are available from Free plan. Live Chat Support is available 24/7.

382 110 78

Hello @rene94 ,

I understand you are looking to change the position of your logo in the password page.

Please add the below mentioned code at the bottom of the theme.liquid file before </body> tag and save.

.password-header {
display: flex;

Output =>



I hope the code helps you.

Please share if you have any query.

Thank you.

Please remember to like and accept the solution to help other store owners.

For Shopify Design & Development | Custom Coding -Visit Here
54 1 7

Hi it didn't work unfortunately