How Do I Center My Logo In The Password Page Header Of Taste Theme?

How Do I Center My Logo In The Password Page Header Of Taste Theme?

worldwidemotion
Excursionist
13 0 4
 

I'm trying to center my logo in the header of my taste theme for the password page, however, there isn't an option to do it within the theme settings like you can for the homepage of this theme. Can someone please help with centering it? Thank you!

My website is cultureclubworldwide.com 

Tyrell
Replies 3 (3)

Made4uo-Ribe
Shopify Partner
10048 2389 3016

Hi @worldwidemotion 

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 "base.css, style.css or theme.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:

 

@media only screen and (min-width: 750px) {
    .password-header {
        grid-template-columns: 1fr;
    }
    img.password-logo {
        justify-self: center;
}
}

 

And save. 

Result: 

Made4uoRibe_0-1718993228115.png

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.
worldwidemotion
Excursionist
13 0 4

Thank you! It looks centered on mobile, however on web it isn't quite centered. Centered would be a little more to the right:

Screenshot 2024-06-21 at 2.24.48 PM.png

Tyrell
niraj_patel
Shopify Partner
2391 516 515

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media only screen and (min-width: 750px) {
.password-header {
gap: unset !important;
}

}
</style>

techlyser_web_0-1718997582976.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com