Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Hide Navigation only on mobile



Site URL: https://luyangzou.com/


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?


Link to post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

1 answer to this question

Recommended Posts

  • 0
@media screen and (max-width: 480px) {
  #topBar {
  	display: none;
  #container {
    margin-top: 0 !important;

Try this


Edited by bangank36

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement, Enable Pinch/Zoom on lightboxGeolocation Automatic Currency Converter, Sortable Table from GSheet
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...