justmytype 0 Share Posted July 13, 2020 Is there a template on 7.1 that has both a top navigation and sidebar navigation? Or is it possible with code to add that functionality to a site on 7.1? Thanks for any assistance. Link to post
0 tuanphan 9,339 Share Posted July 15, 2020 Yes. You can use Custom CSS + JavaScript to do sidebar navigation I did for a client 2 weeks ago. You can send your question to my email to get faster answer. How to: Setup password & share url Insert Custom CSS Open Page Header Upload Custom Font Find Block ID, Data Section ID Contact Squarespace Customer Care -- Yup! Link to post
0 justmytype 0 Author Share Posted July 15, 2020 @tuanphan Fantastic! Would you mind sharing the code you used to do this just so I can get started? Thanks. Link to post
0 tuanphan 9,339 Share Posted July 15, 2020 You can code Sidebar Navigation with HTML (use ul - li tags) then set transform: translate negative values or display none use jQuery or JavaScript to set new class on click. https://www.w3schools.com/jquery/html_addclass.asp With the new class, you can change the CSS to hide / show as well as create effects for the sidebar navigation. You can send your question to my email to get faster answer. How to: Setup password & share url Insert Custom CSS Open Page Header Upload Custom Font Find Block ID, Data Section ID Contact Squarespace Customer Care -- Yup! Link to post
0 justmytype 0 Author Share Posted July 15, 2020 @tuanphan Thank you. Does this code need to appear on every page where the sidebar with nav should go? I want it on all pages except for Home page and to behave dynamically (similar to the Bedford template). Link to post
0 tuanphan 9,339 Share Posted July 15, 2020 you can use CSS body:not(.homepage):.. to hide it on some specific pages. You can send your question to my email to get faster answer. How to: Setup password & share url Insert Custom CSS Open Page Header Upload Custom Font Find Block ID, Data Section ID Contact Squarespace Customer Care -- Yup! Link to post
Question
justmytype 0
Is there a template on 7.1 that has both a top navigation and sidebar navigation? Or is it possible with code to add that functionality to a site on 7.1? Thanks for any assistance.
Link to post
Top Posters For This Question
3
3
Popular Days
Jul 15
5
Jul 13
1
Top Posters For This Question
justmytype 3 posts
tuanphan 3 posts
Popular Days
Jul 15 2020
5 posts
Jul 13 2020
1 post
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment