Is it possible to edit the footer for one page only?

I was thinking of adding the newsletter block somewhere in the middle of the homepage instead of the footer.

Is it possible to remove the newsletter in the footer for the homepage only? And can I replace that space with something else?

1 Like

@selinadg

Please share your web shop URL!

thanks!

Hi

A very good question.

Lets say you have newsletter in “newsLetter.liquid” file, you need to create a section and add that snippet into that section.

Now you can include that section on home page anywhere.

To hide the newsletter from homepage just write this

{% unless template == ‘index’ %}

{% include ‘newsLetter’ %}

{% endunless %}

Let me know if you have any question.

2 Likes

@dmwwebartisan

https://day-off-club.myshopify.com/
Password: prebay

If ever I’m thinking of adding a new column of text or an image if possible.

1 Like

@selinadg

Could you please clarify?

As you said you don’t want a newsletter in the footer for the home page only and you want to add a new column in the footer in place of the newsletter.

What about other pages? Are other pages shows a new column + newsletter in the footer?

Let me know.

@dmwwebartisan I want other pages to have my footer as is now (footer navigation + newsletter sign-up). Just want to change how it shows up on the homepage.