Title: Hide a Divi section
Last modified: April 7, 2021

---

# Hide a Divi section

 *  [mosaic123](https://wordpress.org/support/users/mosaic123/)
 * (@mosaic123)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/hide-a-divi-section/)
 * Hi
 * I’m attempting to show/hide Divi sections based on whether an ACF checkbox field
   is selected.
 * I’ve managed to get this working perfectly to show/hide modules with this:
    function_exists(‘
   get_field’) && get_field(‘content_area’) !== ” But I can’t get this to work in
   the same manner to hide a whole section.
 * I’m very much a beginner, so some assistance with the correct expression to use
   would be much appreciated! I would also want the ability to show and hide a few
   sections, if possible.

The topic ‘Hide a Divi section’ is closed to new replies.

 * ![](https://ps.w.org/content-visibility-for-divi-builder/assets/icon-256x256.
   png?rev=1359961)
 * [Content Visibility for Divi Builder](https://wordpress.org/plugins/content-visibility-for-divi-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-visibility-for-divi-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-visibility-for-divi-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/content-visibility-for-divi-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-visibility-for-divi-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-visibility-for-divi-builder/reviews/)

## Tags

 * [ACF](https://wordpress.org/support/topic-tag/acf/)
 * [boolean](https://wordpress.org/support/topic-tag/boolean/)
 * [content](https://wordpress.org/support/topic-tag/content/)
 * [function](https://wordpress.org/support/topic-tag/function/)

 * 0 replies
 * 1 participant
 * Last reply from: [mosaic123](https://wordpress.org/support/users/mosaic123/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/hide-a-divi-section/)
 * Status: not resolved