Jump to content

Move cart next to burger in mobile view

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 4
  • Views 472
  • Created
  • Last Reply

Top Posters In This Topic

Add to Last Line in Code Injection > Footer

<script>
  jQuery(document).ready(function($){
if (jQuery(window).width() < 640) {
		$('a.Cart.sqs-custom-cart.sqs-template-integrated-shopping-cart').appendTo('.mobile-bar-wrapper');
	}
});
</script>
<style>
  label.mobile-nav-toggle-label+a {
    display: none;
}
</style>

then check on real mobile

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Thanks for the feedback, this is what I got, please see attached.

Also, since we are on the topic how do I target the "0" to style it? I want to make it smaller and align it to the top of the cart. Also the red circle around 0 is missing now. 

Thank you so much,

A

IMG_5396.jpg

Edited by ANDREY_DANILOV
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.