Jump to content

Moving a Social Icon Sidebar

Recommended Posts

This may be a silly question - I have a social media icon sidebar but I want to move it to the right side and can't seem to figure out how to get it away from the left. This is the code I am using in Custom CSS - ideally the bar will float above everything.

///Social Sidebar///
#page {z-index:0;}
footer {
  overflow: unset;
  z-index: 10;
}
footer .sqs-svg-icon--wrapper {
  display: block !important;
}
footer .socialaccountlinks-v2-block {
  pointer-events: none; /*this ensures the icons don't overlap elements within the section*/
  position: fixed !important;
  top: 50% !important; /* Change this number to adjust the distance of the icons from the top */
  left: 10px!important;
  z-index: 2000000;
}
footer .socialaccountlinks-v2-block .sqs-svg-icon--list {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  
}
footer .socialaccountlinks-v2-block a {
  margin: 0 0 20px !important; /*Change this number to adjust the spacing of the social icons*/
  display: inline-block;
  pointer-events: auto;
}

 

Link to comment
  • Replies 5
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

This positions it on the left with a 10px gap:

image.thumb.png.7cfd875b6dc2095fe944d26ec7f5ce9e.png

Change that line to:

right: 10px !important;

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) 
 🖼️ Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
On 4/30/2024 at 5:41 AM, e-witched said:

Sure @tuanphan - the link is https://raspberry-piano-s58-1.squarespace.com PW: test123

 

You can use this CSS code

div#block-92d1dfdacfbb0290fea7 nav {
    align-items: flex-end !important;
    margin-right: 20px;
}

 

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.