Hello, I’m trying to move the header logo on the password-protected page to the center. What code do I paste and where?
Dawn theme: https://werise-co.myshopify.com/
Thank you!
Hello, I’m trying to move the header logo on the password-protected page to the center. What code do I paste and where?
Dawn theme: https://werise-co.myshopify.com/
Thank you!
hello @dashawerise
please Go to Online Store->Theme->Edit code then go to assets/base.css ->paste below code at the bottom of the file.
.password .password-header img.password-logo{
margin: 0 auto;
}
Hi @Kinjaldavra ! Thank you so much for responding! The logo is not quite centered. Does something else need to be changed? Thank you!
Hi @dashawerise
That’s because that “member” element is taking space,
try the below, you will also need to get rid of that margin code you put.
.password-logo {
position: relative;
left: 50%;
transform: translateX(-50%);
}
Awesome!!! Thank you!! Cheers!
Ooops! Now the mobile version is messed up.
How do I fix this? And can I just get rid of the Members/password thing altogether? It seems to be messing everything up and is of no use to me.
Thanks a million!
Hi @dashawerise
Replace the above code with this
@media only screen and (min-width: 750px) {
.password-logo {
position: relative;
left: 50%;
transform: translateX(-50%);
}
}
Hi @JohnFromJotting ,
I have the same issue but with the Express theme. On the desktop version the logo is centred. However, on the mobile version it’s floating towards the right of the screen (see screenshot attached).
My website is www.bearberrykitchen.com.
Any advice is greatly appreciated. I tried using the code mentioned above but can’t see ‘Base’ in the ‘Assets’ folder.
Many thanks,
Jo