Custom Page Attribute
PermalinkThank you....
So..
Make sure your attribute type is a "checkbox" and it is included in the "Navigation and Indexing" Set..
In your page template use this code
<?php if ($c->getCollectionAttributeValue(hide_media)) { ?> // Your Div goes here <?php } ?>
Basically, you "wrap" your div inside the IF statement ..
To "Switch it ON go to the page properties.. "custom attributes" and choose your new attributes and "Tick" the box.
Hope this helps.
What div content exactly are you trying to hide?