How can I resize and reposition my website's search bar?

Hi there,

How do i make the search bar on my website smaller and under the header? When i press search it covers all the header . I just want when i press it to come small and under the header.

1 Like

Hi @stylME

Would you mind to share your Store URL website? with password if its unpublish. Thanks!

Hi ,

There is no password.

http://femmestudio.co.uk

Thank you

1 Like

Hi @stylME

Try 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 “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (min-width: 749px){
predictive-search form {
    width: 50% !important;
    margin: auto;
}
}
@media only screen and (max-width: 749px){
    predictive-search form {
    width: 80% !important;
    margin: auto;
}
}

I have tried that and i just want my search bar be under the search icon . Something like that

You want it like a drop down. Im sorry this design needs a developer to change the original code that you have into drop down design.