I am looking to customize the color scheme of my tab-pane.
My goal is to have each tab turn "orange" when clicked, while keeping the rest of the tabs in a "gray" color.
Below is the code I am currently experimenting with:
<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
<li class="nav-item">
<a class="nav-link active" data-toggle="tab" href="#menu1" style="color:orange">Description</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#menu2" style="color:gray">Product Reviews</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#menu3" style="color:gray">Specifications</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#menu4" style="color:gray">Warranty</a>
</li>
</ul>
<!-- Start Tab panes -->
<div class="tab-content">
<!-- Start Tab Pane Menu 1 -->
<div id="menu1" class="container tab-pane active" style="color:orange"><br>
<p>Hello Description!</p>
</div>
<!-- End Tab Pane Menu 1 -->
<!-- Start Tab Pane Menu 2 -->
<div id="menu2" class="container tab-pane fade" style="color:orange"><br>
<p>Hello Product Reviews!</p>
</div> <!-- End Second Container -->
<!-- End Tab Pane Menu 2 -->
<!-- Start Tab Pane Menu 3 -->
<div id="menu3" class="container tab-pane fade" style="color:orange"><br>
<p>Hello Store Info!</p>
</div> <!-- End Second Container -->
<!-- End Tab Pane Menu 3 -->
<!-- Start Tab Pane Menu 4 -->
<div id="menu4" class="container tab-pane fade" style="color:orange"><br>
<p>Hello Store Reviews!</p>
</div> <!-- End Second Container -->
<!-- End Tab Pane Menu 4 -->
In the image below, I have selected the "Product Reviews" tab. However, the color does not change to "orange".
Additionally, after selecting the "Product Reviews" tab, the color of the "Description" tab remains "orange" instead of changing to "gray".
https://i.sstatic.net/qsmxR.png
What could be causing this issue?