Jump to content

Cart Icon Won't Line Up - Help ☻

Recommended Posts

Site URL: https://cosmotemplate.squarespace.com/?password=pearler

I've used some code to move the social icons and cart to appear vertically. However, I'm finding the cart won't line up. Any help would be greatly appreciated!

// ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯  VERTICAL SOCIAL ICONS ☯ ☯ ☯ ☯ ☯ ☯ ☯  //

.header-actions-action--social {
  position:fixed;
  top:50%;//change as necessary
  flex-direction:column;
  right:1vw;
}

.header-actions-action--social .icon {
  margin-left:-40px !important; //change as necessary
  margin-bottom:20px;
}

@media screen and (min-width:767px) {
  .header-actions-action--cart {
    position:fixed;
    right:30px;
    top:42%;
  }
.header-actions--right {
    justify-content:center;
  }}

Screen Shot 2021-12-14 at 2.33.45 pm.png

Link to comment
2 hours ago, pearler1570048501 said:

Site URL: https://cosmotemplate.squarespace.com/?password=pearler

I've used some code to move the social icons and cart to appear vertically. However, I'm finding the cart won't line up. Any help would be greatly appreciated!

// ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯ ☯  VERTICAL SOCIAL ICONS ☯ ☯ ☯ ☯ ☯ ☯ ☯  //

.header-actions-action--social {
  position:fixed;
  top:50%;//change as necessary
  flex-direction:column;
  right:1vw;
}

.header-actions-action--social .icon {
  margin-left:-40px !important; //change as necessary
  margin-bottom:20px;
}

@media screen and (min-width:767px) {
  .header-actions-action--cart {
    position:fixed;
    right:30px;
    top:42%;
  }
.header-actions--right {
    justify-content:center;
  }}

 

Screen Shot 2021-12-14 at 2.33.45 pm.png

Is it the result you want to achieve?

image.thumb.png.18c6d307dcd867d5e9a845bc2c69d831.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.