<div class="col-md-2">
<div id="secondary" class="widget-area" role="complementary">
</aside><aside id="edd_categories_tags_widget-3" class="widget widget_edd_categories_tags_widget">
<h1 class="widget-title section-title"><span>Categories</span></h1>
<ul class="edd-taxonomy-widget">
<li >Breakfast</li>
<li >Soups</li>
<li >Main Course</li>
<li >Starters</li>
<li >Salads</li>
</ul>
</aside></div>
</div>
我想在引导页面中粘贴左侧菜单。现在它在导航栏下。enter image description here
答案 0 :(得分:0)
您可以从here
查看ZimSystem的答案诀窍是使用词缀组件和一些CSS来定位它:
#sidebar.affix-top {
position: static;
margin-top:30px;
width:228px;
}
#sidebar.affix {
position: fixed;
top:70px;
width:228px;
}