How can I centre the logo on the password page

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

www.blerriot.com/password

1 Like

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.

Result:

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!

@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,
Diego

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


Hope my solution will help you resolve the issue.

Best regards,

Noah | PageFly

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 tag and save.

.password-header {
display: flex;
}

Output =>

I hope the code helps you.

Please share if you have any query.

Thank you.

Hi it didn’t work unfortunately