Shopify themes, liquid, logos, and UX
i'm looking to remove the contents also the 3 lines on the left side that i have hidden on the header home page without affecting the rest of the pages for mobile and desktop (please keep logo)
Solved! Go to the solution
This is an accepted solution.
Hi @undercoverfresh, you can follow these steps:
Step 1: Open Online Store -> Themes -> Edit code
Step 2: Find theme.liquid file
Step 3: Paste this code before close </head> tag:
{% if request.path == "/" %}
<style>
.header__search,
.header__icons {
display: none !important;
}
</style>
{% endif %}
If this helpful, please let us know by giving us a like and marking it as a solution. Thanks
B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.
This is an accepted solution.
Hi @undercoverfresh, you can follow these steps:
Step 1: Open Online Store -> Themes -> Edit code
Step 2: Find theme.liquid file
Step 3: Paste this code before close </head> tag:
{% if request.path == "/" %}
<style>
.header__search,
.header__icons {
display: none !important;
}
</style>
{% endif %}
If this helpful, please let us know by giving us a like and marking it as a solution. Thanks
B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.
Hi @undercoverfresh ,
I have written custom code for this solution. Please follow below steps and let me know your feedback.
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code just above tag </head>
{% if request.page_type == "index" %}
<style>
.header__icons,
.header>.header__search {
display: none!important;
}
</style>
{% endif %}
If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
Makka
It very simple
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025