Adding fluid/fixed container option to navbar

This commit is contained in:
Holger Könemann 2016-11-20 20:36:22 +01:00
parent 06dc66a392
commit 2ef0ff0c58
2 changed files with 1 additions and 2 deletions

View File

@ -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">

View File

@ -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() ) {