Shopify themes, liquid, logos, and UX
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!
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.
{% 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.
Hello! Tried the code but nothing changed
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025