title: Create fixed navbar adn fixed scrolled sidebar in adminLTE integration with yii2
body: <p>I use yii with adminLTE from this <a href="https://github.com/dmstr/yii2-adminlte-asset" rel="nofollow">git, dmstr</a>.</p>
  
  <p>So, I copied the layout from example-view's folder to my view/layout
  My question is </p>
  
  <ol>
  <li>How to make the navbar is fixed</li>
  <li>The sidebar is fixed , but can scrolled ?</li>
  </ol>
  
  <p>This is my code :</p>
  
  <p><strong>navbar</strong></p>
  
  <pre><code>&lt;?php
  
  use yii\helpers\Html;
  
  /* @var $this \yii\web\View */
  /* @var $content string */
  ?&gt;
  
  &lt;header class="main-header"&gt;
  
  &lt;?= Html::a('&lt;span class="logo-mini"&gt;TMS&lt;/span&gt;&lt;span class="logo-lg"&gt;' . Yii::$app-&gt;name . '&lt;/span&gt;', Yii::$app-&gt;homeUrl, ['class' =&gt; 'logo']) ?&gt;
  
  &lt;nav class="navbar navbar-static-top" role="navigation"&gt;
      //Some element
  &lt;/nav&gt; 
  &lt;/header&gt;
  </code></pre>
  
  <p><strong>sidebar</strong></p>
  
  <pre><code>&lt;aside class="main-sidebar"&gt;
      &lt;section class="sidebar"&gt;
      &lt;!-- Sidebar user panel --&gt;
      &lt;div class="user-panel"&gt;
          &lt;div class="pull-left image"&gt;
              &lt;img src="&lt;?= $directoryAsset ?&gt;/img/user2-160x160.jpg" class="img-circle" alt="User Image"/&gt;
          &lt;/div&gt;
          &lt;div class="pull-left info"&gt;
              &lt;p&gt;Dzil Jalal&lt;/p&gt;
  
              &lt;a href="#"&gt;&lt;i class="fa fa-circle text-success"&gt;&lt;/i&gt; Online&lt;/a&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  
      &lt;!-- search form --&gt;
      &lt;form action="#" method="get" class="sidebar-form"&gt;
          &lt;div class="input-group"&gt;
              &lt;input type="text" name="q" class="form-control" placeholder="Search..."/&gt;
              &lt;span class="input-group-btn"&gt;
                  &lt;button type='submit' name='search' id='search-btn' class="btn btn-flat"&gt;&lt;i class="fa fa-search"&gt;&lt;/i&gt;
                  &lt;/button&gt;
              &lt;/span&gt;
          &lt;/div&gt;
      &lt;/form&gt;
      &lt;!-- /.search form --&gt;
  
      &lt;?=
      dmstr\widgets\Menu::widget(
              [
                  'options' =&gt; ['class' =&gt; 'sidebar-menu'],
                  'items' =&gt; [
                      ['label' =&gt; 'Menu Yii2', 'options' =&gt; ['class' =&gt; 'header']],
                      ['label' =&gt; 'Gii', 'icon' =&gt; 'fa fa-file-code-o', 'url' =&gt; ['/gii']],
                      ['label' =&gt; 'Debug', 'icon' =&gt; 'fa fa-dashboard', 'url' =&gt; ['/debug']],
                      ['label' =&gt; 'Login', 'url' =&gt; ['site/login'], 'visible' =&gt; Yii::$app-&gt;user-&gt;isGuest],
                      [
                          'label' =&gt; 'Same tools',
                          'icon' =&gt; 'fa fa-share',
                          'url' =&gt; '#',
                          'items' =&gt; [
                              ['label' =&gt; 'Gii', 'icon' =&gt; 'fa fa-file-code-o', 'url' =&gt; ['/gii'],],
                              ['label' =&gt; 'Debug', 'icon' =&gt; 'fa fa-dashboard', 'url' =&gt; ['/debug'],],
                              [
                                  'label' =&gt; 'Level One',
                                  'icon' =&gt; 'fa fa-circle-o',
                                  'url' =&gt; '#',
                                  'items' =&gt; [
                                      ['label' =&gt; 'Level Two', 'icon' =&gt; 'fa fa-circle-o', 'url' =&gt; '#',],
                                      [
                                          'label' =&gt; 'Level Two',
                                          'icon' =&gt; 'fa fa-circle-o',
                                          'url' =&gt; '#',
                                          'items' =&gt; [
                                              ['label' =&gt; 'Level Three', 'icon' =&gt; 'fa fa-circle-o', 'url' =&gt; '#',],
                                              ['label' =&gt; 'Level Three', 'icon' =&gt; 'fa fa-circle-o', 'url' =&gt; '#',],
                                          ],
                                      ],
                                  ],
                              ],
                          ],
                      ],
                  ],
              ]
      )
      ?&gt;
  
      &lt;/section&gt;
  
  &lt;/aside&gt;
  </code></pre>
  
  <p>For the help, it so appreciated</p>