Jump to content

How to move cart position on desktop

Recommended Posts

Hi,

I am using the following code to move my social icons vertically to the right. But the problem is that it also moves the shopping cart which I don't want. I want the cart to remain in its original place on the end of the main navigation next to the word 'enquire'. Any help welcome. Thanks!

 

https://tlcdesign-amourdemo.squarespace.com/

password: demo

 

 

.header-actions-action--social {
  position:absolute;
  top:330%;//change as necessary
  flex-direction:column;
  right:1vw;
}
.header-actions-action--social .icon {
  margin-left:-10px !important; //change as necessary
  margin-bottom:20px ;
}
@media screen and (min-width:768px) {
  .header-actions-action--cart {
    position:fixed;
    right:30px;
    top:45%;
  }

 .header-actions--right {
    justify-content:center;
  }}
 

Screenshot 2023-02-11 at 12.25.13.png

Link to comment
  • Replies 1
  • Views 371
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

That code you've quoted includes moving the cart, I would suggest removing this text:

@media screen and (min-width:768px) {
  .header-actions-action--cart {
    position:fixed;
    right:30px;
    top:45%;
  }

(I've bolded the line that tells me that the following code is affecting the position of the cart icon)

I hope that solves your problem!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.