We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Re: Move Shopify cart til navbar

How can I move my cart to the navbar on mobile and desktop?

maron1209
Excursionist
23 0 5

Hi, 

I would like to move my shop cart to my navbar, right next the my logo as the other menu-item (see picture). I've tried added padding, which moved it closer to the logo, however it didn't stay in place when scaling to mobile/desktop. 

 

Any help would be much appreciated!

 

The cart is placed on the right by default. I would like it right next to the logo, as the same way with the Shop menu item.The cart is placed on the right by default. I would like it right next to the logo, as the same way with the Shop menu item.

Replies 9 (9)

dmwwebartisan
Shopify Partner
12384 2560 3749

@maron1209 

Please share your store URL.

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com |  Instagram: @dmw.webartisan
PageFly App to customize your pages | The most powerful Shopify page builder app
maron1209
Excursionist
23 0 5

I have sent you a private message. 

dmwwebartisan
Shopify Partner
12384 2560 3749

@maron1209 

Please add the following code at the bottom of your assets/theme.css file.

@media only screen and (min-width: 750px){
.site-header__icons-wrapper{
justify-content: flex-start !important;
}
.site-header .grid__item.medium-up--one-third.medium-up--push-one-third.text-right.site-header__icons {
    left: 28%;
}
}

Hope this works.

Thanks!

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com |  Instagram: @dmw.webartisan
PageFly App to customize your pages | The most powerful Shopify page builder app
maron1209
Excursionist
23 0 5

It works! Thank you! However, when I am scaling the website, the cart menu-item is moved closer to the logo. Is it possbile to set a fixed distance between the logo and the cart menu-item?

dmwwebartisan
Shopify Partner
12384 2560 3749

@maron1209 

Ok, I will check and get back to you with a solution.

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com |  Instagram: @dmw.webartisan
PageFly App to customize your pages | The most powerful Shopify page builder app
maron1209
Excursionist
23 0 5

@dmwwebartisan wrote:

@maron1209 

Ok, I will check and get back to you with a solution.


Thank you! 

maron1209
Excursionist
23 0 5

Did you manage to get another look at it? I still haven't been able to fix it. 

dmwwebartisan
Shopify Partner
12384 2560 3749

@maron1209 

Yes, I checked but it will take time to fix and need to make customization. Hope you understand.

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com |  Instagram: @dmw.webartisan
PageFly App to customize your pages | The most powerful Shopify page builder app
maron1209
Excursionist
23 0 5

Yes of course I fully understand 🙂