Shopify themes, liquid, logos, and UX
I'm using the dawn theme for shopify and I want the logo to be centred like how it is on mobile
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@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 </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.
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.
Hi it didn't work unfortunately
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025