gracemoore Posted August 27, 2021 Posted August 27, 2021 Site URL: http://www.gracemooreyoga.com What css can I use that will hide my Facebook icon from my navigation on mobile device (I only want Instagram to show here)? I have managed to hide it on desktop but it's still showing on mobile. TIA!
iamdavehart Posted August 27, 2021 Posted August 27, 2021 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
gracemoore Posted August 27, 2021 Author Posted August 27, 2021 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!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.