How can I move the search icon next to the user and cart icons?

Solved

How can I move the search icon next to the user and cart icons?

kingdom2
Excursionist
25 0 7

Hi guys!

How can I move the search icon next to the user and cart icons?

 

https://kingdompetshop.com/collections/dog-collars-leashes

Theme: Refresh

Pw: abcd

 

kingdom2_0-1725905876133.png

 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
8303 1994 2453

This is an accepted solution.

Hi @kingdom2 

check 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 "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

<style>
@media screen and (min-width: 990px) {
    .header--top-center {
        grid-template-areas:
        "navigation heading left-icons icons";
    }
    .header {
        grid-template-columns: auto 2fr .2fr auto;
    }
    .header>.header__search {
        justify-self: end;
}
}
</style>

 

And Save. 

result:

Made4uoRibe_0-1725927885301.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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Reply 1 (1)

Made4uo-Ribe
Shopify Partner
8303 1994 2453

This is an accepted solution.

Hi @kingdom2 

check 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 "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

<style>
@media screen and (min-width: 990px) {
    .header--top-center {
        grid-template-areas:
        "navigation heading left-icons icons";
    }
    .header {
        grid-template-columns: auto 2fr .2fr auto;
    }
    .header>.header__search {
        justify-self: end;
}
}
</style>

 

And Save. 

result:

Made4uoRibe_0-1725927885301.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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.