I tried everything, but nothing seems to work. I want to change my logo, just for the password page. I have a dark password page so I want a white version of my logo on there instead of the black version I have on my other pages. Is there any way someone can do it for me?
I understand you want to change the logo on just the password page of your Shopify store without adding CSS code. Here’s an alternative approach:
Access Your Theme’s Code:
Log in to your Shopify admin panel.
Go to “Online Store” > “Themes.”
Find your current theme and click “Actions” > “Edit code.”
Locate the Password Page Template:
In the theme editor, look for the “Templates” or “Sections” folder.
Find the file named password.liquid or something similar. This file controls the layout of your password page.
Update the Logo in the Password Template:
Open the password.liquid file.
Find the section of the code where the logo is being displayed.
Replace the line with the URL of your white logo.
Save Your Changes:
- Save the changes to the password.liquid file.
This method directly changes the logo for the password page without using additional CSS. Ensure that the white logo file is uploaded to your Shopify assets.
Perfect bro, but that’s the other problem. I dont know where to put it. Cause I see like the favicon url part but not the main logo section. I can’t insert a screenshot, I dont know why it doesnt accept PNG’s. Do you know where to go from here?
So with your this request, you can change the background of the logo or completely replace it with a new logo (which has been changed to a white version on the password page).
In my opinion, you should only change the background of the logo to make its content more visible.
This way, there is no need to make extensive changes, only a small CSS edit is needed, and it won’t affect other pages.
In this Step 2: Search for the file base.css. And add this code snippet to the end of the file.
Thank you for your time. Its still not what I hoped it would be, now I just removed the logo entirely which is also fine. Thanks again and Ill give you a like and solution.