add team styling, updates to custom block, general css polishing, updates to navigation
This commit is contained in:
@@ -48,6 +48,44 @@ function header_bg_class() {
|
||||
}
|
||||
add_filter('bootscore/class/header', 'header_bg_class', 10, 2);
|
||||
|
||||
/**
|
||||
* Change main content col
|
||||
*/
|
||||
function change_content_col_size($col_size) {
|
||||
if (is_active_sidebar('sidebar-1')) {
|
||||
return "col-xl-9 pe-xl-5";
|
||||
}
|
||||
return $col_size;
|
||||
}
|
||||
add_filter('bootscore/class/main/col', 'change_content_col_size', 11);
|
||||
|
||||
|
||||
/**
|
||||
* Change sidebar col
|
||||
*/
|
||||
function change_sidebar_col_size($col_size) {
|
||||
return "col-xl-3 ps-xl-5 order-first order-xl-2";
|
||||
}
|
||||
add_filter('bootscore/class/sidebar/col', 'change_sidebar_col_size');
|
||||
|
||||
|
||||
/**
|
||||
* Change sidebar responsive offcanvas
|
||||
*/
|
||||
function change_sidebar_offcanvas($col_size) {
|
||||
return "offcanvas-xl offcanvas-start";
|
||||
}
|
||||
add_filter('bootscore/class/sidebar/offcanvas', 'change_sidebar_offcanvas');
|
||||
|
||||
|
||||
/**
|
||||
* Change sidebar toggler button breakpoint and class
|
||||
*/
|
||||
function change_sidebar_toggler($col_size) {
|
||||
return "d-none";
|
||||
}
|
||||
add_filter('bootscore/class/sidebar/button', 'change_sidebar_toggler');
|
||||
|
||||
|
||||
/**
|
||||
* Footer top classes
|
||||
|
||||
Reference in New Issue
Block a user