Remove Cart Icon Homepage

martujv
Pathfinder
103 2 26

Hello!

 

I want to remove the "cart" icon from the homepage only.

 

It should be visible on the rest of the pages.

 

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

 

I tried many codes but nothing works!

Replies 2 (2)

PageFly-Henry
Shopify Partner
1149 324 278

Hi @martujv 

This is Henry from PageFly - Landing Page Builder App

 

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: paste bellow code in tag </body> -> save.

PageFlyHenry_0-1716741205308.png

 



{% if template == 'index' %}
<style>
      {% if page.url == '/pages/contact-us' %}
        Header, footer {
            Display: none !important;
      {% endif %}
</style>

{% endif %}

Hope that my solution works for you.

Best regards,

Henry | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

martujv
Pathfinder
103 2 26

Hello! Tried the code but nothing changed