TylerJames4 Posted November 20 Posted November 20 Site URL: https://www.tylerjamescooking.com Hi! I'm wondering if there is a way to hide certain social media links in the nav bar for desktop only? I'm trying to hide TikTok and Pinterest.
Solution Lesum Posted November 20 Solution Posted November 20 (edited) Hi @TylerJames4, If you want to hide TikTok and Pinterest across the entire site, including both the header and footer, you can add this code under Website > Pages > Website Tools > Custom CSS. @media screen and (min-width: 1025px) { a[aria-label="Pinterest"], a[aria-label="TikTok"] { display: none; } } If you only want to hide TikTok and Pinterest from the header navigation bar, you can add this code instead. @media screen and (min-width: 1025px) { #header a[aria-label="Pinterest"], #header a[aria-label="TikTok"] { display: none; } } Edited November 20 by Lesum If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment