Can I remove the footer on desktop but not on Homepage?

Topic summary

A user wants to hide the footer on their desktop homepage while keeping it visible on tablet/mobile versions of the homepage.

A PageFly app representative provided a solution involving:

  • Navigating to Online Stores > Themes > Edit code
  • Selecting the theme.liquid file
  • Adding custom code above the tag that uses conditional logic to check if the template contains ‘index’

The proposed solution uses Liquid template code to conditionally hide the footer based on the page template. The discussion appears to be awaiting confirmation from the original poster on whether this solution resolved their issue.

Summarized with AI on November 10. AI used: claude-sonnet-4-5-20250929.

Hi everyone,

Is it possible to remove/hide the footer on my desktop homepage but leave it for my tablet/mobile homepage? Thanks.

1 Like

Hello @akainuu

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:

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file theme.liquid

Step 3: Add code above the tag

{% if template contains 'index' %}

{% endif %}

Hoping my solution helps you solve your problem.

Best regards,

Amelia | PageFly

1 Like