Adding fluid/fixed container option to navbar
This commit is contained in:
parent
06dc66a392
commit
2ef0ff0c58
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
<nav class="navbar navbar-dark bg-inverse site-navigation" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement">
|
<nav class="navbar navbar-dark bg-inverse site-navigation" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement">
|
||||||
|
|
||||||
<div class="container-fluid" id="content">
|
<div class="<?php echo esc_html( $container ); ?>" id="content">
|
||||||
|
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
get_header();
|
get_header();
|
||||||
|
|
||||||
$container = get_theme_mod('understrap_container_type');
|
$container = get_theme_mod('understrap_container_type');
|
||||||
|
|
||||||
$sidebar_pos = get_theme_mod('understrap_sidebar_position');
|
$sidebar_pos = get_theme_mod('understrap_sidebar_position');
|
||||||
|
|
||||||
if ( is_front_page() && is_home() ) {
|
if ( is_front_page() && is_home() ) {
|
||||||
|
|
Reference in New Issue