How can I remove the footer from all pages except the home page?

I only want footer to appear on my home page, I want to remove the footer from every other page.

Hello There,

Please share your store URL and password.

So that I will check and let you know the exact solution here.

www.truckinaround.net

Truckin Around – TruckinAround

Hello There,

  1. In your Shopify Admin go to online store > themes > actions > edit code

  2. Find layout >theme.liquid and paste this at the bottom of the file:

{% if template.name != 'index' %}

{% endif %}

Hello There,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find layout >theme.liquid and paste this at the bottom of the file:
{% if template.name != 'index' %}

{% endif %}

Thank you for the quick help.

@T_A

For hide footer from every page follow below steps :

  1. In your Shopify Admin go to online store > themes > actions > edit code

  2. Find layout >theme.liquid and paste this at the bottom of the file:

{% if template.name != 'index' %}
 

This works well for your site

Best Regards !

Thank you for your response. It’s good to know that it’s worked for you. Kindly feel free to get back to me if you need any further assistance.