Jump to content

Fixed Navigation on Mobile but NOT Desktop on 7.1

Go to solution Solved by Beyondspace,

Recommended Posts

  • Solution
On 9/30/2021 at 2:37 AM, renee.hartwick said:

Site URL: https://ave.squarespace.com/

Site: ave.squarespace.com
PW: theeyeshaveit

The clients I'm building this site for would love to have sticky/fixed nav on mobile but NOT on desktop, and I'm finding the CSS for that tricky. I gave the code from this post a try, but no luck. 

Has anyone else had success with this?

Add to Design > Custom Css

@media only screen and (max-width: 768px) {
  #header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
  }
}

 

Greeting, it's 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 lightbox, Delivery Date Picker, Keyword Highlighter
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 comment

Create an account or sign in to comment

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

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