Jump to content

how to center social icons in header?

Go to solution Solved by tuanphan,

Recommended Posts

On 2/26/2023 at 9:48 PM, ziurkis said:

Hi, does anybody know a way to center the social icons in the header? I tried a few solutions from other posts in the forum, but nothing seems to work for my particular case.. Thanks!

Screenshot 2023-02-26 at 15.24.00.png

What is your site url? We can use script code to achieve this

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
  • Solution
On 3/1/2023 at 4:18 PM, ziurkis said:

https://grasshopper-scarlet-rp5a.squarespace.com/

password: test1234 

Thanks a lot!

Add to Design > Custom CSS

/* Header social */
.header-display-desktop {
    flex-direction: column-reverse;
}
.header-actions.header-actions--left {
    margin-top: 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
9 hours ago, tuanphan said:

Add to Design > Custom CSS

/* Header social */
.header-display-desktop {
    flex-direction: column-reverse;
}
.header-actions.header-actions--left {
    margin-top: 20px;
}

 

Fantastic, that did the trick! thanks a lot!

Link to comment
  • 7 months later...

Hey everybody!

I tried the same CSS for my site and found that while it did put the social links underneath the header logo and navigation, it slightly off-centred everything  - is there a simple fix or something I can add/adjust to the code?

Thanking you all in advance!

@tuanphan

Edited by Hydrology
Link to comment
On 10/12/2023 at 7:47 PM, Hydrology said:

Hey everybody!

I tried the same CSS for my site and found that while it did put the social links underneath the header logo and navigation, it slightly off-centred everything  - is there a simple fix or something I can add/adjust to the code?

Thanking you all in advance!

@tuanphan

What is your 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

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.