renee.hartwick Posted September 29, 2021 Share Posted September 29, 2021 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? Beyondspace 1 Link to comment
Solution Beyondspace Posted October 2, 2021 Solution Share Posted October 2, 2021 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; } } tuanphan and renee.hartwick 1 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
renee.hartwick Posted October 5, 2021 Author Share Posted October 5, 2021 @bangank36 Worked like a charm, THANK YOU so much! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment