Remove Footer Homepage

Hi! I want to remove the footer only on my homepage. It should be visible on the rest of the pages.

(Both on mobile and desktop)

My theme is Stiletto and my web is www.winnerofficial.com

I tried many codes but nothing works!

Simple, just check if the page loading is homepage write condition to hide footer.

Hello @martujv

This is Amelia at PageFly - Shopify Advanced Page Builder app.

You can try the following steps I have provided to help you solve the problem you are facing:

You can try the following steps I have provided to help you solve the problem you are facing:

Step 1: Online Store → Themes → Edit Code

Step 2: Choose file theme.liquid

Step 3: Add code above the tag

{% if template == 'index' %}

{% endif %}

Hoping my solution helps you solve your problem.

Best regards,

Amelia | PageFly

Hello! I added the code but it didn’t do anything. My footer is still visible on the homepage.

thanks for the reply but it didn’t work

The footer is the whole footer section, the one that is visible on all the pages, not only one line. This would include also stuff like the newsletter and the legal stuff, so yeah, the whole footer basically. I am looking for a code to hide the whole footer section on the homepage

You can try the code below instead

{% if template == 'index' %}

{% endif %}