How can I get my logo in the password page to act as a button as it normally would

Hi the logo I use for my home page would normally take me to the home page when pressed, I want to achieve the same thing with the logo on the password page but it acts like an image.

Please help.

Thank you,

Joe

Hey @f22london1 ,

When you click on the image then where is it supposed to bring you?

Just to the password page. I just want it to act as a button.

Well the thing is that, in the actual store, you have multiple pages and the logo is the ‘shortcut’ to the homepage. But if you’re in the password page, there’s no other page to go to. So there’s really no point in clicking the logo if it’s going to go to the exact same page you’re already in. It’s the same as driving to a grocery store, getting out of your car, going into the grocery store, and then instead of buying anything, you just run back to your car, get in, close the door, open the door again and run back into the grocery store.

Still, it’s your choice to do it.

Go to your theme’s “Edit Code” Option, then in the search bar type “main-password-header.liquid”.

Look for line 9 to 30. and make sure it is similar to what you see below.

Now wrap those lines with this

So above the whole code you should put


And below it, you should put


thanks it works