Answer the question
In order to leave comments, you need to log in
Where do extra styles in layout come from?
Good day.
There is such a code
<a href="" class="main-info__catalog__products-item swiper-slide swiper-slide-item-choice">
<div class="main-info__catalog__products-image">
<img alt="" src="<?=$arItem["PREVIEW_PICTURE"]["SRC"]?>"/>
</div>
<div class="main-info__catalog__products-item-info">
<div class="main-info__catalog__products-item-title">
<span class="main-info__catalog__products-item-cost cost-for-card">4,0 руб</span>
<span class="main-info__catalog__products-item-label item-hit">Хит</span>
</div>
<p class="main-info__catalog__products-item-type description-text-black"><?=$arItem["NAME"]?></p>
<p class="main-info__catalog__products-item-count"><?=$arItem["PREVIEW_TEXT"]?></p>
</div>
</a>
<a href="" class="main-info__catalog__products-item swiper-slide swiper-slide-item-choice swiper-slide-duplicate swiper-slide-active" data-swiper-slide-index="3" style="width: 1350px; margin-right: 15px;" role="group" aria-label="1 / 6">
Answer the question
In order to leave comments, you need to log in
Judging by the fact that you have swiper-slide, it means that the swiper slider library is used, so it adds the rest of the styles and classes, and also makes element clones. This is the normal behavior of such libraries. Check the network for its possible settings in order to better configure it for your needs.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question