Loading...

Documentation Theme

Containers

5.2.3.4

Change container layout with a simple function.

Theme uses a function for container class:

<div class="<?php echo bootscore_container_class(); ?>">

Result in frontend:

<div class="container">

To change layout into container-fluid, override function in child’s functions.php:

// Fluid layout
function bootscore_container_class() {
  return "container-fluid";
}

Result in frontend:

<div class="container-fluid">

Of course, any other container class can be used as well.

To top