Jump to content

How to adjust spacing between social icons in header?

Go to solution Solved by Ziggy,

Recommended Posts

It's in the header settings.

Go to edit a page, then edit the header and go to the desktop tab and adjust the link spacing:

image.png.3e414ed66d4aa39f96969c830b4ad2e4.png

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

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

Link to comment

Ah yes -- but I'm actually looking to keep the text links spaced as they are, and adjust the spacing only between the 2 social icons.. is there a way to do this? Thank you for your reply btw!

Link to comment

Fair enough! Try this Custom CSS:

.header-actions--right .header-actions-action--social .icon {
    margin-left: 1vw;
}

Adjust the vw value to your heart's content!

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

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

Link to comment

Try this instead:

.header-actions--right .header-actions-action--social .icon {
    margin-left: 1vw !important;
}

 

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

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

Link to comment

That did bring the 2 icons closer together (success!!) but it also closed up the space between the rightmost nav link and the leftmost icon. Would you happen to know how to adjust that space while still keeping the icons tight? Thank you again btw!! 

Link to comment
  • Solution

Try this instead:

.header-actions--right .header-actions-action--social .icon:not(:first-child) {
    margin-left: 1vw !important;
}

Hope that helps! Give me a thumbs up if you can!

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

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

Link to comment

Hey! Actually having one other issue -- perhaps related??

I am using a custom social icon/link in the nav bar, and it's showing up correctly in the desktop view but not mobile. When I click on the blank space within the mobile menu that the icon should be showing, it links to where the icon would direct to -- it's just not showing the actual icon -- it shows up as a blank space in the menu. Any thoughts? And thank you again for all of your help!

Link to comment

I can actually see it just fine on desktop and mobile when testing. My guess is that if you used a PNG rather than an SVG it might show up more reliably (that's been my experience). What code did you use to switch the icons?

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

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

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.