Archived topic
Looking for a way to toggle on/off a particular section
1 reply · Started by Brett on February 16, 2017
I have the sections feature turned on for the page. Let's say I two section and I only want one section to display, while I prepare the content on the other section. Once the content is ready for the second section, I would like to toggle that section on and toggle the other section off.
Any thoughts or enhancements coming that would allow that to happen?
Hi Brett,
I think that would be pretty cool idea :)
For now you can add the three classes hide-on-mobile hide-on-tablet hide-on-desktop to the Custom Classes field in the Sections Settings to hide it quickly.
https://docs.generatepress.com/article/sections-overview/#opening-the-section-settings
Let me know if this helps.