Trigger Posted March 23, 2021 Share Posted March 23, 2021 Site URL: https://www.triggersanj.com Hi all, does anyone know the CSS code to make my website main navigation bar static as the user scrolls down the page? Thanks in advance. Beyondspace 1 Link to comment
Beyondspace Posted March 23, 2021 Share Posted March 23, 2021 9 minutes ago, Trigger said: Site URL: https://www.triggersanj.com Hi all, does anyone know the CSS code to make my website main navigation bar static as the user scrolls down the page? Thanks in advance. try .Header--top { position: fixed; width: 100%; } Trigger 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
Trigger Posted March 23, 2021 Author Share Posted March 23, 2021 Thank you - that worked! Beyondspace 1 Link to comment
tuanphan Posted March 25, 2021 Share Posted March 25, 2021 On 3/23/2021 at 4:42 PM, Trigger said: Thank you - that worked! Hey. On mobile, you can use this CSS to make list 2 items/row /* gallery list 2 items mobile */ @media screen and (max-width:640px) { div#block-605382dc8cf82010523aaad6 ~ .row .span-6 { width: 50% !important; float: left !important; } } Trigger 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Trigger Posted April 1, 2021 Author Share Posted April 1, 2021 On 3/25/2021 at 2:58 AM, tuanphan said: Hey. On mobile, you can use this CSS to make list 2 items/row /* gallery list 2 items mobile */ @media screen and (max-width:640px) { div#block-605382dc8cf82010523aaad6 ~ .row .span-6 { width: 50% !important; float: left !important; } } oh my god thank you so much!! I hope squarespace is paying you for all the help you provide via the forum!! Thank you. Link to comment
paul2009 Posted April 2, 2021 Share Posted April 2, 2021 10 hours ago, Trigger said: I hope squarespace is paying you for all the help you provide via the forum!! Contributors aren’t paid for the help they provide to the Squarespace community on this forum. tuanphan 1 About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
Trigger Posted April 6, 2021 Author Share Posted April 6, 2021 On 4/2/2021 at 8:28 AM, paul2009 said: Contributors aren’t paid for the help they provide to the Squarespace community on this forum. Damn 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