Hey, thanks a lot for the help!
I actually made the unwanted content as comments and it works fine for me. Yet it will be helpful to know in which file I can look for $heading_title, $heading_title_sub and $sub_content
Thank you again!
Code: Select all
<?php
$config = $this->registry->get('config');
?>
<div class="container">
<div class="box-bloglates">
<!-- <div class="box-heading"><h2 class="title"><?php echo $heading_title; ?></h2><p class="" style="width: 400px;"></p></div> -->
<?php if(($config->get('nova_header_style')== '2') || ($config->get('nova_header_style')== '3')) { ?>
<div class="title-divider-style-6"></div>
<?php } ?>
<!-- <div class="box-sub-heading"><h2 class="title" style="margin-bottom: 31px;"><?php echo $heading_title_sub;?></h2></div> -->
</div>
<!-- <div class="sub-content hidden_header_home_v3"><p style="margin-bottom: 50px; line-height: 28px;"><?php echo $sub_content;?></p></div> -->
<div class="row">
<div id="carousel<?php echo $module; ?>" class="carousel brands-slider hidden-buttons">
<ul class="slides">
<?php foreach ($banners as $banner) { ?>
<?php if ($banner['link']) { ?>
<li><a href="<?php echo $banner['link']; ?>"><img src="<?php echo $banner['image']; ?>" alt="<?php echo $banner['title']; ?>" class="img-responsive" /></a></li>
<?php } else { ?>
<li class="brand-img"><img src="<?php echo $banner['image']; ?>" alt="<?php echo $banner['title']; ?>" class="img-responsive" /></li>
<?php } ?>
<?php } ?>
</ul>
</div>
</div>
</div>
<script type="text/javascript">
$(window).load(function() {
$('#carousel<?php echo $module; ?> .slides').owlCarousel({
autoplay:true,
autoplayTimeout:1000, //Set AutoPlay to 3 seconds
items :4,
itemsDesktop : [1000,5], //5 items between 1000px and 901px
itemsDesktopSmall : [900,4], // 3 items betweem 900px and 601px
itemsTablet: [600,2], //2 items between 600 and 0;
itemsMobile : [320,1],
slideSpeed :1000,
});
});
</script>