Jump to content

CSS to remove Facebook Icon from header navigation

Recommended Posts

  • Replies 2
  • Views 575
  • Created
  • Last Reply
Posted

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 

Posted
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!

Archived

This topic is now archived and is closed to further replies.

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