Hide the Cart and search icon for 1 page only

Hi everyone. I want to hide the cart icon and search Icon from the footer on JUST the home page and then show up on the product page. How can I do this ?
Many Thanks Jonny!

1 Like

Hi @STRiiDE

Please, share your store URL. Thanks!

Hi mate. Heres the URL to my website
STRiiDE (2f3caf-f8.myshopify.com)
I want the Search Icon and Cart icon to be hidden on this first page but then shows back up again on the product page>

Thanks for the info, check this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”

  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.

  3. In the “theme. Liquid” file. Find the tag and paste the code below before the tag.

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

{% endif %}
  1. And Save.

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

Its worked! Thank you so much!