Bootstrap 3 grid within layout column

Permalink
Is it possible to specify the grid type within a nested layout, I cannot find how to define this ?

1 Attachment

moleculeFFF
 
juddc replied on at Permalink Best Answer Reply
juddc
As far as I know, if you place a layout grid into an area, you can't nest another layout grid into any of it's columns.

You can cheat a little and add a new template - for example left-sidebar.php, and then add $a->setAreaGridMaximumColumns(12); to an editable area. In this case, you'd be able to nest a grid inside a grid.

Here is an example:
<div class="container">
    <div class="row">
        <div class="col-md-4 sidebar">
      <?php
         $a = new Area('Sidebar');
         $a->display($c);
      ?>
      </div>
      <div class="col-md-8 main">
      <?php
         $a = new Area('Main');
         $a->setAreaGridMaximumColumns(12);
         $a->display($c);
      ?>
      </div>
moleculeFFF replied on at Permalink Reply
moleculeFFF
You can definately nest Layouts it would seem infinately as can be seen in the attached screenshot above but the option of a custom grid is not available just free form ?
juddc replied on at Permalink Reply
juddc
Thats my understanding.
moleculeFFF replied on at Permalink Reply
moleculeFFF
Bump