Removing search from Mobile/Desktop header in Prestige Theme

Solved
Jasoliya
Shopify Expert
4131 569 998

Send your store url 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp Or Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
ewagency
New Member
4 0 0
Jasoliya
Shopify Expert
4131 569 998

1. Go to Online Store->Theme->Edit code
2. Asset->theme.scss->paste bellow code in bottom of file

.header--logo-center-search{    display: none;}

 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp Or Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
ewagency
New Member
4 0 0

We have tried that but it didn't work.

For your reference here is the related code from header.liquid

{% if section.settings.logo_placement == 'center' %}
<div class="header--logo-center-search">
{% render 'search' %}
</div>
{% endif %}

<p><a href="https://infanetim.myshopify.com/"><img src="https://cdn.shopify.com/s/files/1/0511/2525/6374/files/IT_logo.svg?v=1606421779" width="400" height="155" alt="" style="display: block; margin-left: auto; margin-right: auto;" /></a></p>

<div class="header-tools header-tools--style-{{ section.settings.icon_style }}" data-header-tools>
{% if section.settings.logo_placement == 'left' %}
{% render 'search' %}
{% endif %}
<div class="header-localization">
{% render 'localization-selectors', showLocaleSelector: section.settings.showLocaleSelector, showCurrencySelector: section.settings.showCurrencySelector %}
</div>
<ul>

 

0 Likes