Out of the box, main content is 12, and sidebar is 6
-
Out of the box, the main content region contains:
<div class="col-md-12 content-area" id="main-column">
and the sidebar is
<div class="col-md-6 page-header-top-right">
I’ve checked /inc/template-functions.php and it looks correct:
if (!function_exists('bootstrapBasicGetMainColumnSize')) { function bootstrapBasicGetMainColumnSize() { if (is_active_sidebar('sidebar-left') && is_active_sidebar('sidebar-right')) { // if both sidebar actived. $main_column_size = 6; } elseif ( (is_active_sidebar('sidebar-left') && !is_active_sidebar('sidebar-right')) || (is_active_sidebar('sidebar-right') && !is_active_sidebar('sidebar-left')) ) { // if only one sidebar actived. $main_column_size = 9; } else { // if no sidebar actived. $main_column_size = 12; } return $main_column_size; }// bootstrapBasicGetMainColumnSize }
So, the main content displays underneath the bottom of the sidebar.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Out of the box, main content is 12, and sidebar is 6’ is closed to new replies.