Jump to content

Spacing between Social Media Icons too wide

Recommended Posts

Dear Community, 

I have a dual language setup and added the following code to each of second language pages via PAGE HEADER CODE INJECTION:

<div dir="rtl"</div>

But now the spacing between the Facebook and the Instagram Icon in the header is too wide (see screenshot). 

I tried to fix it via Custom CSS but was not successful so far. 

Any help would be appreciated. 

Thank you!

Sho2000

spacing.png

Edited by Sho2000
Link to comment

Add to Home > Design > Custom CSS

.header-actions--right .header-actions-action--social .icon:first-child {
    margin-left: 1.3vw;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 1 month later...
On 9/15/2020 at 6:13 AM, Kyle007 said:

Hi,

I got the same problem with my header page. However, the code doesn`t work with I write it on the custom CSS.

https://www.csmgconsulting.com/

Add to Home > Design > Custom CSS

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

 

On 9/16/2020 at 5:50 AM, Sunshine763 said:

Same as Kyle, the code doesn't work when I post it in the custom CSS section

Can you share site url?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 3 months later...
On 1/31/2021 at 9:55 AM, jzbz said:

Hi! I was wondering what if I want to reduce the spacing between all social links only, not one specific icon? Thanks! 

Can you share site url? We can help easier

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 11 months later...
20 hours ago, nicolinnnaa said:

I'm having the same issue @tuanphan! Can you help me?

https://elise-i1-dec.squarespace.com/

p: hello123

You mean Header Social Icons?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 1 year later...

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.