Mobile View Search Icon location

Solved

Mobile View Search Icon location

TBS2023
Shopify Partner
173 1 11

TBS2023_0-1727101036425.jpeg

 

www.yogaspirit.mu

Theme: Dawn

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
8243 1977 2425

This is an accepted solution.

Hi @TBS2023 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes"

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

<style>
@media only screen and (max-width: 989px){
summary.header__icon.header__icon--search.header__icon--summary.link.focus-inset.modal__toggle {
    top: 0px !important;
}
}
</style>

 

And Save. 

Result:

Made4uoRibe_0-1727101254786.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 6 (6)

Made4uo-Ribe
Shopify Partner
8243 1977 2425

This is an accepted solution.

Hi @TBS2023 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes"

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

<style>
@media only screen and (max-width: 989px){
summary.header__icon.header__icon--search.header__icon--summary.link.focus-inset.modal__toggle {
    top: 0px !important;
}
}
</style>

 

And Save. 

Result:

Made4uoRibe_0-1727101254786.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
TBS2023
Shopify Partner
173 1 11

Thank You

However the search bar is still all wrong

TBS2023_0-1727103554712.jpeg

 

 

Made4uo-Ribe
Shopify Partner
8243 1977 2425

Im not sure what design your aiming here. The search bar is not align before cause there is a code that was added so I just take it out. I try to fix your search bar on the mobile. But the input text are missing. 

This is i can fix from here, better to get a developer to fix. 

please, Add on the base.css file. thanks!

 

@media only screen and (max-width: 989px){
.modal__content {
    position: absolute;
    top: 0;
    left: unset;
    right: 100%;
}
.search__input.field__input {
    padding: 0 10rem;
}
}

 

And Save. 

Result:

Made4uoRibe_0-1727105311493.png

 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

PageFly-Amelia
Shopify Partner
576 162 232

Hi @TBS2023 

This is Amelia 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 base.css

Step 3: Paste the below code at bottom of the file -> Save

 

@media (max-width: 767px){

.header__search summary.header__icon.header__icon--search.header__icon--summary.link.focus-inset.modal__toggle {

    top: 0 !important;

}

a.header__heading-link.link.link--text.focus-inset {

    margin: 0;

    padding-top: 0;

}}

 

Hope that my solution works for you.

Best regards,

Amelia | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 
➜ Weekly updated Shopify tutorials on YouTube 


All features are available from Free plan. Live Chat Support is available 24/7.

BSSCommerce-B2B
Shopify Partner
1723 513 576

@TBS2023 ,

Step 1. Go to Admin -> Online store -> Theme > Edit code

Step 2. Find the file theme.liquid.

Step 3. Add this code above </body>

<style>
@media only screen and (max-width: 990px) {
  details .header__icon.header__icon--search.header__icon--summary.link.focus-inset.modal__toggle {
      top: 0px !important;
  }
}
</style>

Result:

BSSCommerceB2B_0-1727101970825.png

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

websensepro
Shopify Partner
1220 136 156

Hi @TBS2023 ,

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

 

<style>
@media only screen and (max-width: 989px){
summary.header__icon.header__icon--search.header__icon--summary.link.focus-inset.modal__toggle {
    top: 0px !important;
   }
}
</style>

 

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

Need a Shopify developer?
Hire us at WebSensePro
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel or buy us a Cofee here

Free Shopify Beginner Tutorial