want my search bar on the left in my dawn theme

divika
Excursionist
69 1 5

i want the search button on the left besides menu drawer in my dawn theme. https://admin.shopify.com/store/6d74d6/themes/164010295592/editor ooo.jpg

Replies 6 (6)

PageFly-Oliver
Globetrotter
701 139 131

Hi @divika 

 

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

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

 

<style>
@media screen and (min-width: 990px){
.header:not(.header--top-center) *>.header__search{
    position: absolute;
    left: calc((100vw - var(--page-width) - 10rem )/2);
}}
</style>

 

 

Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

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


PageFly - #1 Page Builder for Shopify merchants.


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

divika
Excursionist
69 1 5

no change. 

divika
Excursionist
69 1 5

In fact it disappeared.

DigiDecoded
Shopify Partner
118 18 24

do you still need help?

Danish | Full Stack Developer @ Esire.Inc
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- Hire me for your next task! | Email | WhatsApp | Website
divika
Excursionist
69 1 5

yes i cant see the search button now. 

jasper12
Tourist
4 0 1

Did the solution work