my Search Box looks quite big on mobile version

Solved
Highlighted
Excursionist
23 6 5

The size of the search box is quite big on the mobile version, also, I want to change the color of the search box's icon. 

Capture.JPG

 

 
 
 
 
0 Likes
Highlighted
Shopify Partner
3200 704 849

@ashraffq 

Your shop is password protected. Please share the password. I will check and provide a solution here.

Thanks!

If helpful then please Like and Accept Solution.
Do you need custom changes on store ? Hire me.
Feel free to Contact me on dmw.webartisan@gmail.com
Follow us on Instagram @dmw.webartisan
0 Likes
Highlighted
Shopify Expert
420 43 47

Hello There, 

 

Kindly share your store URL with me so that I can take a look and can suggest a solution for it. 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
Highlighted
Excursionist
23 6 5

.

.

.

.

.

.

.

.

.

.

 
 
 
 
 
0 Likes
Excursionist
23 6 5

..........

0 Likes
Highlighted
Shopify Partner
3200 704 849

This is an accepted solution.

@ashraffq 

Please add this code at the bottom of your assets/styles.scss.liquid file.

@media only screen and (max-width: 798px) {
.search__container .search__wrapper { margin-top: 10px; margin-bottom: 10px; }
.search__container input[type="text"] { height:43px !important; min-height: 43px !important; }
}

 

Hope this helps!

Thanks!

If helpful then please Like and Accept Solution.
Do you need custom changes on store ? Hire me.
Feel free to Contact me on dmw.webartisan@gmail.com
Follow us on Instagram @dmw.webartisan
Highlighted
Excursionist
23 6 5

This is an accepted solution.

 Unfortunately, after the resizing of the search box, the change didn't affect the search button either. 

on the desktop looks perfect

on desktop is good.JPG

 

But on the Mobile it doesn't

 
 
 
on mobile.JPG

 

 
 
 
0 Likes
Highlighted
Shopify Partner
3200 704 849

This is an accepted solution.

@ashraffq 

Please add the following code for the mobile search icon.

@media only screen and (max-width: 798px){
.search__button { min-height: 30px !important; height: 30px !important; font-size: 16px !important; }
}

 

Hope this will work.

Thanks! 

If helpful then please Like and Accept Solution.
Do you need custom changes on store ? Hire me.
Feel free to Contact me on dmw.webartisan@gmail.com
Follow us on Instagram @dmw.webartisan
0 Likes