WalkingSheep Posted June 20, 2020 Posted June 20, 2020 Site URL: https://luyangzou.com/ Hi, I use CSS to move my main navigation at the centre of my page. #navigator header#topBar ul#nav { display: block; float: none; text-align: center; padding: 10px 0 20px 0; margin: 0 0 0 75px; max-width: 100%; } but I want to hide my Navigation only on mobile device. How can I do that? Thanks.
Beyondspace Posted June 21, 2020 Posted June 21, 2020 @media screen and (max-width: 480px) { #topBar { display: none; } #container { margin-top: 0 !important; } } Try this BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
Recommended Posts
Archived
This topic is now archived and is closed to further replies.