Shopify themes, liquid, logos, and UX
I've trawled the community posts and can't see a solution for this. Apologies if this is already covered.
On desktop and mobile landscape, my site shows three icons to the right of the logo - Login, Search, Cart.
On mobile portrait, it only shows the Cart icon.
I know the space is reduced in portrait, but is it possible to show Search and Cart? There looks to be enough room.
Here's the current header on portrait:
Here's the current header on landscape:
Thanks in advance for any help anyone can offer!
Will.
Solved! Go to the solution
This is an accepted solution.
In case anyone is looking for a solution to this, I worked it out.
Just add the following code to your header.liquid file right below <div class="site-nav--mobile text-right">
<a href="{{ routes.search_url }}" class="site-nav__link site-nav__link--icon{% if search_modal %} js-toggle-search-modal{% endif %}" data-mfp-src="#SearchModal">
<span class="icon-fallback-text">
<span class="icon icon-search" aria-hidden="true"></span>
<span class="fallback-text">{{ 'general.search.title' | t }}</span>
</span>
Please share store URL.
Thanks!
This is code customization work . i will try to solve your problem please share your theme zip file
Thanks!
Theme ZIP attached.
Will.
This is an accepted solution.
In case anyone is looking for a solution to this, I worked it out.
Just add the following code to your header.liquid file right below <div class="site-nav--mobile text-right">
<a href="{{ routes.search_url }}" class="site-nav__link site-nav__link--icon{% if search_modal %} js-toggle-search-modal{% endif %}" data-mfp-src="#SearchModal">
<span class="icon-fallback-text">
<span class="icon icon-search" aria-hidden="true"></span>
<span class="fallback-text">{{ 'general.search.title' | t }}</span>
</span>
Hi there, I know this thread is old, but i used this solution and it worked, but the search is on the left in an odd spot, is it possible to be to the right next to the cart button,or is this not possible? thanks so much
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024