Home › Forums › Support › How to hide a section This topic has 8 replies, 2 voices, and was last updated 7 years, 5 months ago by Leo. Viewing 9 posts - 1 through 9 (of 9 total) Author Posts November 26, 2018 at 2:07 pm #740542 Jamie Hi! Is there any way to hide a section on a page? I don’t want it to show yet, but will do in the future, and don’t want to have to create it from scratch again when I need it as it has quite a bit of code on there. Thanks! November 26, 2018 at 2:24 pm #740554 LeoStaff Customer Support Hi there, Are you referring to GP’s Sections? https://docs.generatepress.com/article/sections-overview/ Let me know 🙂 November 26, 2018 at 2:45 pm #740579 Jamie Yes I am! November 26, 2018 at 2:56 pm #740595 LeoStaff Customer Support You could just add these three built in classes as custom classes: https://docs.generatepress.com/article/responsive-display/#using-our-hide-on-classes https://docs.generatepress.com/article/sections-overview/#layout Let me know 🙂 November 26, 2018 at 3:09 pm #740611 Jamie Hi, where do I put this code? I put the following within the sections text box just to see if it hid on desktop and it didn’t work: Content here will only display in Desktop Each section doesn’t have it’s own area to add code, so how can you use it for one specific section? Thanks November 26, 2018 at 3:22 pm #740634 Jamie <div class="hide-on-desktop"> Content here will only display in Desktop </div> November 26, 2018 at 3:29 pm #740645 LeoStaff Customer Support You don’t need to add any code at all. GP’s Sections allow you to add custom classes: https://docs.generatepress.com/article/sections-overview/#layout So simply copy hide-on-mobile hide-on-tablet hide-on-desktop and paste in there. November 26, 2018 at 3:46 pm #740668 Jamie Perfect, thanks for your help! November 26, 2018 at 6:03 pm #740790 LeoStaff Customer Support No problem 🙂 Author Posts Viewing 9 posts - 1 through 9 (of 9 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In