Post by silvia_r » Thu Apr 07, 2016 11:12 pm

Hello everybody!

I'm fairly new to opencart and struggling with some stuff for a few months. I think I didn't choose the proper theme but... It's over and I still like it :)

So, my carousel module with brand logos has text which shows on the home page but I can not find a way to change it. This theme has a lot of blind spots, the creators stopped supporting it and I can't find the answer on the internet, so... I even looked in the code :) If anybody could help me I would really appreciate it!

Newbie

Posts

Joined
Tue Mar 15, 2016 9:19 pm

Post by impairedspook » Fri Apr 08, 2016 7:00 am

Hi silvia_r,

I would start looking in...

catalog/view/theme/YOURTHEME/template/module/carousel.tpl

see if you can spot anything. If not maybe post the contents of this file here so we can have a look :) Maybe even a screenshot of what you want removed would be helpful.

Hope this helps.

Cheers

Active Member

Posts

Joined
Sat Apr 26, 2014 4:44 am

Post by silvia_r » Mon Apr 11, 2016 7:38 pm

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>

Newbie

Posts

Joined
Tue Mar 15, 2016 9:19 pm
Who is online

Users browsing this forum: No registered users and 4 guests