Commit 8496b217 by Alexander Makarov

Merge pull request #1912 from johonunu/1822-sticky-futter

Added sticky futter. Fixes #1822
parents 442393da 98e9f307
......@@ -22,6 +22,7 @@ AppAsset::register($this);
</head>
<body>
<?php $this->beginBody() ?>
<div class="wrap">
<?php
NavBar::begin([
'brandLabel' => 'My Company',
......@@ -51,6 +52,7 @@ AppAsset::register($this);
]) ?>
<?= $content ?>
</div>
</div>
<footer class="footer">
<div class="container">
......
html,
body {
padding-top: 70px;
height: 100%;
}
.wrap {
min-height: 100%;
height: auto;
margin: 0 auto -60px;
padding: 0 0 60px;
}
.wrap > .container {
padding: 70px 15px 20px;
}
.footer {
height: 60px;
background-color: #f5f5f5;
border-top: 1px solid #ddd;
margin-top: 30px;
padding-top: 15px;
padding-bottom: 30px;
padding-top: 20px;
}
.jumbotron {
......
......@@ -23,6 +23,7 @@ AppAsset::register($this);
</head>
<body>
<?php $this->beginBody() ?>
<div class="wrap">
<?php
NavBar::begin([
'brandLabel' => 'My Company',
......@@ -56,6 +57,7 @@ AppAsset::register($this);
<?= Alert::widget() ?>
<?= $content ?>
</div>
</div>
<footer class="footer">
<div class="container">
......
html,
body {
padding-top: 70px;
height: 100%;
}
.wrap {
min-height: 100%;
height: auto;
margin: 0 auto -60px;
padding: 0 0 60px;
}
.wrap > .container {
padding: 70px 15px 20px;
}
.footer {
height: 60px;
background-color: #f5f5f5;
border-top: 1px solid #ddd;
margin-top: 30px;
padding-top: 15px;
padding-bottom: 30px;
padding-top: 20px;
}
.jumbotron {
......
......@@ -21,7 +21,9 @@ AppAsset::register($this);
<?php $this->head() ?>
</head>
<body>
<?php $this->beginBody() ?>
<div class="wrap">
<?php
NavBar::begin([
'brandLabel' => 'My Company',
......@@ -52,6 +54,7 @@ AppAsset::register($this);
]) ?>
<?= $content ?>
</div>
</div>
<footer class="footer">
<div class="container">
......
html,
body {
padding-top: 70px;
height: 100%;
}
.wrap {
min-height: 100%;
height: auto;
margin: 0 auto -60px;
padding: 0 0 60px;
}
.wrap > .container {
padding: 70px 15px 20px;
}
.footer {
height: 60px;
background-color: #f5f5f5;
border-top: 1px solid #ddd;
margin-top: 30px;
padding-top: 15px;
padding-bottom: 30px;
padding-top: 20px;
}
.jumbotron {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment