Answer the question
In order to leave comments, you need to log in
How to remove a block with a carousel from the main page if it is empty?
There is a block with a carousel on the site for fixed news only. Output via {custom}. If you remove all the news from the carousel, then it remains empty (captain obvious :)). Actually the question is how to hide it?
Answer the question
In order to leave comments, you need to log in
<style type="text/css">
.owl-scr:empty {
display: none;
}
</style>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question