shannon_leah Posted December 9, 2021 Posted December 9, 2021 Site URL: https://www.shannoncollis.ca/ Hello! I am looking for custom code to hide the main and secondary navigation on a single page of my site. Theme: Atelier 7.0 Thanks so much, SL
Solution ThisJustin Posted December 9, 2021 Solution Posted December 9, 2021 Hi Shannon, Which page do you want to hide the navigation on? You'll need to open up developer tools and find the collection id for that page. (It's in the list of body classes and looks like: collection-5d978ee6590a832f3c3fe6d4) Then you could do something like: #collection-id #topNav{ display:none; } If you want to remove the whole sidebar it would be: #collection-id { #headerWrapper{ display:none; } .header-position-fixed-left #pageWrapper{ margin-left:0px; max-width: unset; } } This would all go into your Custom CSS.
shannon_leah Posted December 10, 2021 Author Posted December 10, 2021 Thank you! worked perfectly. ThisJustin 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment