diff options
-rw-r--r-- | view/css/choklet.css | 7 | ||||
-rw-r--r-- | view/css/choklet_bannertwo.css | 11 | ||||
-rw-r--r-- | view/php/choklet.php | 1 |
3 files changed, 16 insertions, 3 deletions
diff --git a/view/css/choklet.css b/view/css/choklet.css index e5e0240f5..bb7b8fbd2 100644 --- a/view/css/choklet.css +++ b/view/css/choklet.css @@ -8,7 +8,6 @@ header #banner { #blog-banner { position: relative; - margin-top: 75px; width: 100%; margin-bottom: 20px; } @@ -19,6 +18,12 @@ nav.navbar { margin-right: 0; } +#nav-backer { + position: absolute; + top: 0; + left: 0; +} + aside#region_1 { display: block; min-width: 210px; diff --git a/view/css/choklet_bannertwo.css b/view/css/choklet_bannertwo.css index 386f8ead3..86be8914b 100644 --- a/view/css/choklet_bannertwo.css +++ b/view/css/choklet_bannertwo.css @@ -6,8 +6,7 @@ header #banner { margin-right: auto; } #blog-banner { - position: relative; - margin-top: 75px; +/* position: relative; */ width: 100%; margin-bottom: 20px; margin-left: auto; @@ -19,6 +18,14 @@ nav.navbar { width: 100%; } +#nav-backer { + position: absolute; + top: 0; + left: 0; + width: 100%; + z-index: 0; +} + aside#region_1 { display: block; min-width: 210px; diff --git a/view/php/choklet.php b/view/php/choklet.php index 74891044a..2c38ab2c4 100644 --- a/view/php/choklet.php +++ b/view/php/choklet.php @@ -9,6 +9,7 @@ <div id="blog-margin">
<header><?php if(x($page,'header')) echo $page['header']; ?></header>
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"><?php if(x($page,'nav')) echo $page['nav']; ?></nav>
+ <div id="nav-backer" class="navbar"> </div>
<div id="blog-banner"><?php if(x($page,'banner')) echo $page['banner']; ?></div>
<aside id="region_1"><?php if(x($page,'aside')) echo $page['aside']; ?></aside>
<section id="region_2"><?php if(x($page,'content')) echo $page['content']; ?>
|