What's your biggest current challenge? Have your say in Community Polls along the right column.

how can I specifically hide the footer only to the home/landing page?

Solved

how can I specifically hide the footer only to the home/landing page?

luhlex
Tourist
4 0 2

What I am trying to do is hide all policy links from all pages aside from the store/product pages. I successfully hide the footer on all pages except the landing page. 

 

my website: ardor*

Accepted Solutions (2)

Hey_Jak
Shopify Partner
131 9 24

This is an accepted solution.

Try this

{% if template.name != "index" %} 
 do something
{% endif %}

 

❤️ Buy me a coffee
- Check my youtube: Hey Jak
Was your question answered? Mark it as an Accepted Solution.

View solution in original post

devcoders
Shopify Partner
564 80 142

This is an accepted solution.

Hello @luhlex 

You can try this code

 

 

 

{% if template.name == "index" %} 
<style>
.shopify-section-group-footer-group {
    display: none;
}
</style>
{% endif %}

 

 

Shopify Developer: Helping eCommerce Stores

If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!

View solution in original post

Replies 5 (5)

Hey_Jak
Shopify Partner
131 9 24

This is an accepted solution.

Try this

{% if template.name != "index" %} 
 do something
{% endif %}

 

❤️ Buy me a coffee
- Check my youtube: Hey Jak
Was your question answered? Mark it as an Accepted Solution.

devcoders
Shopify Partner
564 80 142

This is an accepted solution.

Hello @luhlex 

You can try this code

 

 

 

{% if template.name == "index" %} 
<style>
.shopify-section-group-footer-group {
    display: none;
}
</style>
{% endif %}

 

 

Shopify Developer: Helping eCommerce Stores

If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!

devcoders
Shopify Partner
564 80 142

Hello @luhlex 

 

You're very welcome! I'm thrilled to hear that you're pleased with the outcome. Don't hesitate to reach out if you need further assistance.

 

like and accepting the All solution. Thank you!

Shopify Developer: Helping eCommerce Stores

If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!
luhlex
Tourist
4 0 2

Hi thanks for your support! I do have another question posted here: Mobile Menu broke, glitching can't seem to figure it out. - Shopify Community

devcoders
Shopify Partner
564 80 142

@luhlex ok sure I will check and update you.

Shopify Developer: Helping eCommerce Stores

If you need assistance with your store, feel free to contact us at devcodersp@gmail.com
WhatsApp No: +91 8516919310 If my assistance was helpful, please consider liking and accepting the solution. Thank you!