Open emil-777 opened 8 years ago
This is a result of the template file not checking if the current slider position actually has banners assigned to it, resulting in an empty div being output anywhere that they layout file indicates a slider can be inserted.
Update your bannerslider.phtml to fix this:
if ($html = $block->getChildHtml()) { ?>
<div class="magestore-bannerslider">
<?php echo $html; ?>
</div>
<?php }
It seems that there are added several HTML objects (div.magestore-bannerslider) on the site. Also in the case if there is just added one slider on the page.
Please take a look at http://demo-magento2.magestore.com/banner-slider/ and search for "magestore-bannerslider" in frontend.
Is this an error?