Jump to content

Move Socials to the Right of Header

Go to solution Solved by tuanphan,

Recommended Posts

  • Solution

Try adding this code to Website Tools > Code Injection > Footer

(Do not add to Custom CSS)

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
jQuery(document).ready(function($){
  $('.header-display-desktop .header-actions-action.header-actions-action--social').insertBefore('.header-display-desktop .showOnDesktop .header-actions-action.header-actions-action--cart');
})
</script>
<style>
  .header-display-desktop .showOnDesktop {
    display: flex;
    align-items: center;
}

.header-actions-action.header-actions-action--cart {
    margin-left: 1.9vw;
}
</style>

image.thumb.png.40fcaa92259974d2b8b385fffecf86c5.png

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

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.