Jump to content

CSS to remove Facebook Icon from header navigation

Recommended Posts

  • Replies 2
  • Views 515
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

there's loads of css selectors that you could use to find the relevant icon. whilst this one isn't specifically looking for facebook, it will just hide the second parent div which means that the insta logo will centre nicely.

.header-menu-actions-action.header-menu-actions-action--social:nth-child(2) {
    display:none;
}

 

Dave Hart. Software/Technology Consultant living in London. buymeacoffee 

Link to comment
2 minutes ago, iamdavehart said:

there's loads of css selectors that you could use to find the relevant icon. whilst this one isn't specifically looking for facebook, it will just hide the second parent div which means that the insta logo will centre nicely.

.header-menu-actions-action.header-menu-actions-action--social:nth-child(2) {
    display:none;
}

 

that’s great - thanks so much!

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.