Jump to content

Cart in center of header 7.1

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Add this to Settings > Advanced > code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
  $(document).ready(function() { 
		$('.header-display-desktop .header-actions.header-actions--right').appendTo('.header-title-nav-wrapper .header-nav');
	});
</script>
<style>
  .header-nav {
    flex-direction: row-reverse;
    display: flex;
    justify-content: space-between;
    flex: 50% !important;
    width: 50% !important;
}
  .header-title {
    width: 50% !important;
}
</style>

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 10/16/2021 at 1:06 AM, Ellis-square said:

This is perfect - thank you very much 👍

Why are you recommending putting into the footer rather than the header? 

Good for performance

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.