Jump to content

Social Media Icons in Header

Recommended Posts

  • Replies 1
  • Views 651
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 12/21/2021 at 2:24 AM, SashaMiana said:

Site URL: https://www.majurejewelry.com

Hi there!

Is there a way to change the social media icons in the header? I prefer they be styled like the ones in the footer with a border. Looks more clean. I don't know if coding is necessary to achieve this, or if I'm missing something. Still getting the hang of 7.1. 

Site PW: mj123

TIA!

 

You mean black background with white icon?

Add to Design > Custom CSS

/* Header icons */
header#header a.icon {
    background-color: black;
    border-radius: 50%;
    width: 42px;
    height: 42px;
}
header#header a.icon svg {
    fill: white;
    width: 20px;
    line-height: 42px;
    left: 50%;
    position: relative;
    top: 50%;
    transform: translate(-50%,-50%);
}

 

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.