Change Layout
Change your desire layouts from the available options.
This Section explains everything about Page Layouts with its extra available options.
Vertical
Horizontal
Collapse
Vertical Layout is a default layout of theme so you no need to made any change in it
You need to include below given script in your PHP page to get the Horizontal Layout
and change in
app/Views/*.php
the page also if you have a subdirectory then also make a change in that.
<script src="<?= base_url('assets/js/laout-horizontal.js') ?>"></script>
You need to include below given script in your PHP page to get Collapse Layout.
and Change in
app/Views/*.php
pages also if you have a subdirectory then also make a change init.<script src="<?= base_url('assets/js/laout-compact.js') ?>"></script>
also, you need to include a layout-compact PHP file on your instead of the vertical-layout file page to get Collapse Layout.
include('partials/layout-compact') ?>
Last modified 4mo ago