Hi there,
I would like to change the “search Bar” and can’t seem to find a way to do this.
Hope someone has come up with a solution for this, would really appreciate the help.
I am looking for something like this, which opens like a dropdownwith full header width.
Maxi-Brillian (maxibrillian.com)
pw: deropa
Hello,
This can be done easily by editing the code of your theme. If you have a custom theme, I can help you with that if you want.
However, if you have the Dawn theme installed here are the exact steps -
- Open Shopify Admin for your store.
- Click Online Store in the left sidebar under sales channels.
- Select themes.
- You can see the theme that’s currently installed you your store.
- Click the 3 dots on the left of customize button
- Select Edit code
- Open file Assets → base.css
- Press Ctrl + F (windows) or Cmd + F (mac) to find a word
- Type .search-modal__content in the search bar and press enter
- You should find a block in this format “.search-modal__content { … }”
- Inside this block, remove this line - “justify-content: center;”
- Save the file
- Now search for “.search-modal__form”
- There would be multiple search results, look for the block that’s contained in another block starting with the “@media screen” query.
- Now remove the whole “.search-modal__form { .. }” block inside the @media screen block.
- Save the file.
- Done.
Thank you for your help.
i tried your instructions and i get this result.
Now i have a width search bar, which i was looking for, but i wanted the exact design wich i posted.
LIKE THIS Marc Gebauer – Marc Gebauer Lifestyle GmbH