Center the search bar

Solved
New Member
3 0 0

Hi everyone!

I want to change my search bar position in my store.

Now the search bar on the top right corner, I want it will be at the center above the main menu and below the logo.

And I prefer it will be wider if that thing possible.

I use Minimal them.

Many thanks

Alon

0 Likes
Excursionist
15 2 1

Hello Alon,
May I have your store URL?

0 Likes

Success.

Hello @Alonbakers,

If you want to make search bar in center then follow below steps

1. Go to Online Store->Theme->Edit code
2. Sections-->header.liquid file

2019-12-27_14-00.jpg

Add below css in

1. Go to Online Store->Theme->Edit code
2. Asset->theme.scss->paste bellow code in bottom of file

@media screen and (min-width: 769px) {
.header-bar__module.header-bar__search {
	min-width: 250px;
	float: left;
}
}
Want to modify or incorporate custom changes on store, Hire us.
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Free Review and advice for sale on store | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | SEO & Digital Marketing | Site Speed Optimization | Performance Site Audit
0 Likes
New Member
3 0 0

Thank you, It's working!

0 Likes