How to hide footer on login and registration page?

Topbright
Excursionist
29 4 4

Hi, How to hide the footer on the login and registration page?

 

 

{% if template == 'login' %}
// Footer 1
{% else %}
// Footer 2
{% endif %}

 

 

0 Likes
Pallavi
Shopify Expert
2190 356 468

Hello There,

Please share your store URL and Screenshot.
So that I will check and let you know the exact solution here.

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
0 Likes
Topbright
Excursionist
29 4 4

Thank you for your replay @Pallavi ,  I want to hide the footer on the registration and login page, I had tried to add "if" condition with the template but didn't work

{% if template == 'login' or template == 'register' %}
/// Nothing
{% else %}
/// Footer
{% endif %}

 

 URL: https://223qaw2k14lk5pze-34865643658.shopifypreview.com

0 Likes