Forum

Thread tagged as: Question

Block in the same nested div

How can i have a clock to be in the same DIV. Here is my page template.

<perch:before><div class="tab-content clearfix"></perch:before>
<div class="tab-pane <perch:content id="textactive" type="text" label="Active?" required="false" title="false" />" id="exTab<perch:content id="perch_item_index" type="hidden" />">
<perch:blocks scope-parent="true">
  <perch:block type="Tabsblock" label="tab content">
 <div class="post-box col-lg-4 col-md-4 col-sm-4 mr-bot-20 "><!-- .post-box -->
<div class="col-lg-12 nopad bor-wrap wbreak">
<img class="center-block pd-top-10" src="<perch:content type="image" id="pwimage" label="Brand Image" width="250" />" alt="<perch:content type="text" id="alt" label="Description" required="false" help="Brand logo, for example GoDaddy logo" title="true" />" />
<div class="col-lg-12">
<h3 class="fs-16 fw-700"><perch:content id="pwtitle" type="text" label="Header Title" required="false" title="true" /></h3>
</div>
<div class="col-lg-12 bc-dgray pd-15 content-blck">
<perch:repeater id="Selectlabelstext" label="Labels">
<p><strong>  <perch:template path="content/blocks/subscription_select_labels.html" />   </strong>: <perch:content id="otherinfo1more" type="text" label="Label content" required="false" title="false" /></p>
</perch:repeater>
</div>
</div>
</div>
</perch:block> <!-- I want this block to appear inside .post-box -->
  <perch:block type="Expirationdate" label="Expiraion date">
<perch:template path="content/blocks/expiration_date_block.html" />
</perch:block>
</perch:blocks>

<!--Tab content -->      
    </div>
    <perch:after></div></perch:after>
Edward Johansen

Edward Johansen 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

The selected blocks are inserted in place of the <perch:blocks></perch:blocks> tags.