Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[Решено] Активная вкладка в карточке товара

Recommended Posts

Не могу достучаться до активной вкладки.

      <div class="row">
        <div class="white-bg padding-30 margin-bottom-30" id="product-tab">
		  <ul class="nav nav-tabs">
            <li class="active"><a href="#tab-description" data-toggle="tab"><?php echo $tab_description; ?></a></li>
            <?php if ($attribute_groups) { ?>
            <li><a href="#tab-specification" data-toggle="tab"><?php echo $tab_attribute; ?></a></li>
            <?php } ?>
            <?php if ($review_status) { ?>
            <li><a href="#tab-review" data-toggle="tab"><?php echo $tab_review; ?></a></li>
            <?php } ?>


#product-tab .nav > li > a.active {
	margin-bottom: 15px;
	background: #9b2d30 !important;
	height: 68px;

не срабатывает. Притом, что в хедере аналогичная (для аналогичной структуры)

#menu2 .nav > li > a.active {

вполне себе работает как надо.


Подозреваю, что всё дело в data-toggle="tab"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.