/ Published in: PHP
For Concrete5, specific EditMode styling for a block.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php if ($c->isEditMode()) { ?> <div style="height: 335px; width: 165px; float: left;"> <?php } ?> <?php $a = new Area('Block Item 1'); $a->display($c); ?> <?php if ($c->isEditMode()) { ?> </div> <?php } ?>