How can I centre the logo on the password page

How can I centre the logo on the password page

rene94
Explorer
78 1 15

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

 

email.PNG

Replies 5 (5)

Made4uo-Ribe
Shopify Partner
10036 2387 3013

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:

Made4uoRibe_0-1713127883188.png

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!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

diego_ezfy
Shopify Partner
2971 571 923

@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;
}
}

 

diego_ezfy_0-1713135117109.png

 


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

Thank you.

Kind regards,
Diego

PageFly-Noah
Shopify Partner
1317 233 281

 

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>

 

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

 

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.

Anshul_arora
Navigator
453 129 105

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 =>

Anshul_arora_0-1713176499411.png

 

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
rene94
Explorer
78 1 15

Hi it didn't work unfortunately