Previously, I sought help with an issue regarding a Navtab not being highlighted when active. The problem persists despite successfully configuring the slider to swipe to the corresponding slide upon selecting a tab. Specifically, if I manually slide from Slide 1 to Slide 2 on the carousel, Tab 1 remains highlighted instead of highlighting Tab 2. Any advice or solutions would be greatly appreciated. Thank you for your continued support!
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<ul class="nav nav-tabs alt-font text-uppercase letter-spacing-1 no-border font-weight-600 text-center" role="tablist">
<li id="tab1" data-target="#myCarousel" data-slide-to="0" class="active"><a href="#tab1" role="tab" data-toggle="tab" class="xs-display-inline ">Tab 1</a>
</li>
<li id="tab2" data-target="#myCarousel" data-slide-to="1"><a href="#tab2" role="tab" data-toggle="tab" class="xs-display-inline ">Tab 2</a>
</li>
<li id="tab3" data-target="#myCarousel" data-slide-to="2"><a href="#tab3" role="tab" data-toggle="tab" class="xs-display-inline ">Tab 3</a>
</li>
</ul>
<div class="tab-content clearfix">
<div class="carousel-inner" role="listbox">
<!-- slider item-->
<div class="item active" role="listbox">
<row>
<div class="col-md-5 col-sm-6 pull-left">
<img src="Slide1Picture">
</div>
<div class="col-md-5 col-sm-6 pull-right">Slide 1
</div>
</row>
</div>
<!-- slider item-->
<div class="item">
<row>
<div class="col-md-5 col-sm-6 pull-right">
<img src="Slide2Picture">
</div>
<div class="col-md-5 col-sm-6 pull-right">Slide 2
</div>
</row>
</div>
<!-- slider item-->
<div class="item">
<row>
<div class="col-md-5 col-sm-6 pull-left">
<img src="Slide3Picture">
</div>
<div class="col-md-5 col-sm-6 pull-right">Slide 3
</div>
</row>
</div>
<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>