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

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

2 Likes

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:

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

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 on theme.liquid

@media only screen and (min-width: 750px) { .password-header { gap: unset !important; } }

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