Template

Permalink
I've created a new template (5.7.5.1) and made it a right sidebar page. But now I can't figure out how to adjust the Main & Sidebar widths or how to add a Global Area. Any help would be appreciated. Thanks!

HeinoM
 
WillemAnchor replied on at Permalink Reply
WillemAnchor
If it's a bootstrap theme try to wrap it in bootstrap classes. Here a small example:
<div class="container">
<div class="row>
<div class="col-xs-6"
this will be 6 columns wide
</div>
</div>
</div>

Just have a look at the bootstrap grid system on their site for more examples.

Have a look at some other templates to so how globals are loaded. for example for the elemental theme, look at elements/header.php
<div class="container">
        <div class="row">
            <div class="col-sm-4 col-xs-6">
                <?php
                $a = new GlobalArea('Header Site Title');
                $a->display();
                ?>
            </div>
<!-- more -->
        </div>
    </div>
HeinoM replied on at Permalink Reply
HeinoM
The theme I'm working with is used the Foundation grid system, I'm guessing the idea is the same. So I find the new template I created (right_sidebar_3), open it up and change the column widths there? Any idea where that file might live? All I see in folder for the theme are the only it shipped with.