How can i make my search bar abit smaller

How can i make my search bar abit smaller

createdbylove
Excursionist
67 0 9

How can I make my search bar background just a little bit smaller? And how I change the line colour from black to a dark grey colour please 🙂

1000002939.jpg

Replies 6 (6)

Made4uo-Ribe
Shopify Partner
10211 2427 3078

Hi @createdbylove 

Would you mind to share your store URL? Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
createdbylove
Excursionist
67 0 9

I've sent you a message 🙂

Made4uo-Ribe
Shopify Partner
10211 2427 3078

Thanks for the info, is this for the mobile screen? 

Made4uoRibe_0-1722373165423.png

Do you mean like this? If it is check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

@media only screen and (max-width: 989px){
.field__input:focus, .select__select:focus, .customer .field input:focus, .customer select:focus {
      box-shadow: 0 1px 1px darkgrey; 
}
.search-modal__content {
    padding: 0 12rem 0 5rem;
}
.search-modal__close-button {
    right: 7rem;
}
}

 

  • And Save. 

 

 

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
createdbylove
Excursionist
67 0 9

For desktop and laptop please 

Made4uo-Ribe
Shopify Partner
10211 2427 3078

Oh, Sorry didnt get it check this one again.

Same Instruction. Please, replace to this. 

 

.field__input:focus, .select__select:focus, .customer .field input:focus, .customer select:focus {
      box-shadow: 0 1px 1px darkgrey; 
}
.search__button .icon {
    height: 3rem;
    width: 3rem;
}

 

 And Save. 

Result:

Made4uoRibe_0-1722378981551.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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
createdbylove
Excursionist
67 0 9

Thanks it still not how I want it. I'll message you