Shopify themes, liquid, logos, and UX
Hello,
My Searchbar at Pao Alto Theme does not appear on mobile view.
Can somebody help me to fix this.
Greetings
Could you please share your store link with us for further checking?
Looking forward to hearing from you soon. Thank you!
Best,
Daisy - Avada Support Team.
I hope you are well. You can follow our instructions below:
Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/iDxwa8zBQ4Z-
Step 3: Copy the code below and paste it there
Here is the code for Step 3:
@media screen and (max-width: 767px){
h1.logo.logo--compress {
display: none !important;
}
search-popdown.search-popdown.mobile-menu__button.caps {
display: block !important;
}
}
I noticed there is code that hides the search bar on mobile and adjusts the position of the icons on the header, which causes the search bar not to display. The code I shared with you above, intended to hide the logo when the search bar is opened and to display the search bar on mobile.
Please let me know if it works. Thank you!
Best,
Daisy - Avada Support Team.
Hi @DaisyVo I added the code it works but the logo is disapeared now and it liked to see it too
Possible to make it like this!
[Menu] [Search] [Logo] [Cart] - Mobile View
In the mobile view on the Iphone (Safari), the search bar hangs after closing.
The search bar does not hang up in the mobile view on Android (Chrome).
Then you can find my instructions below:
1/ Please find this code from your theme > edit code: (https://prnt.sc/BAp1OYxQjf4o). In general, it will be used in header.liquid file.
2/ Switching position of these 2 codes for each other: https://prnt.sc/irqdFMpEeBxH
3/ Searching for this code: (https://prnt.sc/V4VWGLhmB2DR) and using it right above the code "search-popdown" in step 2.
4/ Search for "theme.liquid" file: https://prnt.sc/b6xveIKe-Rh2 and add the following code at the bottom of the file above </head> tag.
Code for Step 4:
{% style %}
@media screen and (max-width: 767px){
.mobile-menu > a.mobile-menu__button + h1.logo.logo--compress {
display: block !important;
}
}
{% endstyle %}
Please let me know if it works. Thank you!
Best,
Daisy - Avada Support Team.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey 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, 2024