1
嗨即時使我的第一個網站bootstrap和wordpress,但我卡在這一個請檢查下面的照片。我怎樣才能讓我的旋轉木馬和邊欄具有相同的尺寸?Bootstrap與側邊欄高度相同的傳送帶
我已經做了100%的高度或100vh側邊欄的高度階級的側邊欄是主目錄,謝謝!
<div class="col-md-12 main-head">
<div class="col-md-9 main-slider">
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
<li data-target="#myCarousel" data-slide-to="3"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="http://localhost/wordpress/wp-content/uploads/2016/10/1.jpg" alt="Chania">
</div>
<div class="item">
<img src="http://localhost/wordpress/wp-content/uploads/2016/10/1.jpg" alt="Chania">
</div>
<div class="item">
<img src="http://localhost/wordpress/wp-content/uploads/2016/10/1.jpg" alt="Flower">
</div>
<div class="item">
<img src="http://localhost/wordpress/wp-content/uploads/2016/10/1.jpg" alt="Flower">
</div>
</div>
<!-- Left and right controls -->
<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
<div class="col-md-3 main-catalog">
<h3 class="h3-catalog"> Products Catalog </h3>
<ul class="main-categories">
<li>Home & Living </li>
<li> Limited Edition </li>
<li> Satelite Connection</li>
<li> Clothing </li>
<li> Accessories</li>
<li> Food </li>
<li> Bags </li>
<li> Travels </li>
</ul>
</div>
</div>