I'm looking to accomplish something straightforward like this: https://i.sstatic.net/y84BI.jpg
Here is the code I have:
<section class="info-bar info-bar-clean">
<div class="container">
<div class="row">
<div class="col-md-11">
<div class="col-sm-3 hidden-xs">
<i class="fa fa-3x fa-credit-card"></i>
<h5 class="topbar-lh">Payment on Delivery</h5>
</div>
<div class="col-sm-3 hidden-xs">
<i class="fa fa-3x fa-refresh"></i>
<h5 class="topbar-lh">7 Day Free Returns</h5>
</div>
<div class="col-sm-3 hidden-xs">
<i class="fa fa-3x fa-shield"></i>
<h5 class="topbar-lh">Genuine Products</h5>
</div>
<div class="col-sm-3 hidden-xs">
<i class="fa fa-3x fa-truck"></i>
<h5 class="topbar-lh">Free Delivery Nationwide</h5>
</div>
</div>
<div class="col-md-1 col-xs-12">
<!-- BUTTONS -->
<ul class="pull-right nav nav-pills nav-second-main">
<!-- QUICK SHOP CART -->
<li class="quick-cart">
<a href="#">
<span class="badge badge-aqua btn-xs badge-corner">2</span>
<i class="fa fa-shopping-cart"></i>
</a>
</li>
<!-- /QUICK SHOP CART -->
</ul>
<!-- /BUTTONS -->
</div>
</div>
</div>
</section>
Now, when I attempt to create a dropdown on the cart like this:
<li class="quick-cart">
<a href="#">
<span class="badge badge-aqua btn-xs badge-corner">2</span>
<i class="fa fa-shopping-cart"></i>
</a>
<div class="quick-cart-box">
<h4>Shop Cart</h4>
<div class="quick-cart-wrapper">
<a href="#"><!-- cart item -->
<img src="assets/images/demo/people/300x300/4-min.jpg" width="45" height="45" alt="" />
<h6><span>2x</span> RED BAG WITH HUGE POCKETS</h6>
<small>$37.21</small>
</a><!-- /cart item -->
<a href="#"><!-- cart item -->
<img src="assets/images/demo/people/300x300/5-min.jpg" width="45" height="45" alt="" />
<h6><span>2x</span> THIS IS A VERY LONG TEXT AND WILL BE TRUNCATED</h6>
<small>$17.18</small>
</a><!-- /cart item -->
<!-- cart no items example -->
<!--
<a class="text-center" href="#">
<h6>0 ITEMS ON YOUR CART</h6>
</a>
-->
</div>
<!-- quick cart footer -->
<div class="quick-cart-footer clearfix">
<a href="shop-cart.html" class="btn btn-primary btn-xs pull-right">VIEW CART</a>
<span class="pull-left"><strong>TOTAL:</strong> $54.39</span>
</div>
<!-- /quick cart footer -->
</div>
</li>
The dropdown only displays correctly in "col-md-3" and appears distorted. Is there a proper way to achieve this with a smooth drop-down effect on hover?
Additionally, can the items be adjusted to fit the screen size instead of collapsing onto each other.
Thank you.