Answer the question
In order to leave comments, you need to log in
Why when I disable fancybox in some section, it is disabled for the whole site?
Here is the html
<div class="prices-details">
<div class="container">
<?php while ( have_rows('prices') ) : the_row(); ?>
<div class="card" data-fancybox data-options='{"src": "#exampleModal", "touch": false, "smallBtn" : false}' href="javascript:;"> </div>
</div>
</div>
<--- Второй код, который я не хочу отключать
<a href="https://hutsonr.ru/wp-content/uploads/2019/12/g1unE6n4lYo.jpg" data-fancybox="images">
<img src="https://hutsonr.ru/wp-content/uploads/2019/12/g1unE6n4lYo.jpg" alt="image" />
</a>
.prices-details .fancybox-container,.fancybox-show-toolbar,.fancybox-is-open {
display: none;
}
Answer the question
In order to leave comments, you need to log in
.fancybox-is-open {
display: none;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question