Is there a way to make the menu bar background transparent without affecting the transparency of the text on the menu bar?
This template is based on Twitter Bootstrap carousel.
In this specific line,
<div class="navbar navbar-inverse navbar-static-top" style="background-color: rgba(0, 0, 0, 0.701961); background-position: initial initial; background-repeat: initial initial; opacity: 0.2;">
I am looking to only make the BACKGROUND transparent so that other images on my pages can be displayed with a transparent layout.
I have achieved a similar effect with div#bg:after for the entire background, but I am unsure how to do it specifically for bootstrap.
Here is my code:
Thank you in advance!
<div class="navbar-wrapper">
<div class="container">
<div class="navbar navbar-inverse navbar-static-top" style="background-color: rgba(0, 0, 0, 0.701961); background-position: initial initial; background-repeat: initial initial; opacity: 0.2;">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<!-- toggle menu for mobile page -->
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="#buy" target="_blank"><i class="icon-shopping-cart icon-0.25"></i> Buy Now</a></li>
</ul>
</button>
<a class="navbar-brand" href="http://abc.com"> abc</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active" ><a href="http://abc.com">Home</a></li>
<li><a href="#about">Products</a></li>
<li><a href="#contact">Connect</a></li>
<li><a href="#contact">Get Some</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-shopping-cart icon-large"></i> Buy Now <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li class="divider"></li>
<li class="dropdown-header">Payment Option</li>
<li><a href="#">Paypal.com</a></li>
<li><a href="#">Amazon.com</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>