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
  • 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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 3 months later...
  • 11 months later...
  • 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.