Back in October, I was working on another site using the same template, chamber.perrycountytn.com, and needed the slideshow to fade in and out, change the opaqueness of the overlay on the slideshow, and the speed. I was told you created a new scipt in /templates/ja_landscape/local/acm/slideshow/tmpl/style-owl.php that would do all this. And it did. But when I wanted to get the same code loaded into two others sites I'm building for Perry County TN, I could not locate any file at /templates/ja_landscape/local/acm/slideshow/tmpl/style-owl.php. There is no such subdirectory. I do not know where to place this script. Here is the script as shown in my original ticket that Joomlart said they added:
<script>
(function($){
jQuery(document).ready(function($) {
$("html[dir='ltr'] #acm-slideshow-<?php echo $module->id; ?> .owl-carousel").owlCarousel({
addClassActive: true,
items: 1,
margin: 30,
loop: true,
nav : false,
dots: true,
animateIn: 'fadeIn',
animateOut: 'fadeOut',
autoplay: <?php echo $autoplay; ?>,
autoplayTimeout:5000,
smartSpeed: 1500,
});
$("html[dir='rtl'] #acm-slideshow-<?php echo $module->id; ?> .owl-carousel").owlCarousel({
addClassActive: true,
items: 1,
margin: 30,
loop: true,
nav : false,
dots: true,
autoplay: <?php echo $autoplay; ?>,
rtl: true,
});
});
})(jQuery);
</script>
I also have css in ja_landscape/local/custom.css and ja_landscape/css/custom.css as follows:
/* .fadeOut is style taken from Animation.css and this is how it looks in owl.carousel.css: */
.fadeOut {
-webkit-animation-name : fadeOut ;
animation-name : fadeOut ;
}
/* reduce opacity of slideshow overlay */
.acm-slideshow .item:before { opacity: .1}
I need to place this in two sites, courts.perrycountytn.com and gov.perrycountytn.com. Please tell me how to do get control over the slides to have fadein and fadeout speed and density of overlay.
Thank you.