Ambiente design scripts
<script>
$("#cat-1780 .topic a").attr("href", "/produkty/");
$("#cat-1696 .topic a").attr("href", "/sluzby/");
$('<div class="right-sidebar"></div>').insertAfter('#content');
$('div.bannery-home').insertAfter('div.before-carousel');
$('#footer').prepend($('.instagram'));
$('.type-category .category-perex:not(.category-empty)').insertAfter('.category-title');
$('.p-detail-inner-header').prependTo('.p-info-wrapper');
$( ".box-bg-variant .categories#cat-1780 .topic a" ).text( "Produkty" );
if ($('.category-perex:contains("Žiadne produkty značky")').length > 0) {
$(".category-perex").hide();
}
</script>
<script src="https://www.ambiente.sk/user/documents/upload/res2021/owl.carousel.min.js" type="text/javascript"></script>
<script>
$('.owl-carousel').owlCarousel({
loop:true,
margin:20,
fluidSpeed:true,
responsiveClass:true,
responsive:{
0:{
items:1,
nav:false,
autoplay:true,
fluidSpeed: true,
slideTransition: 'linear',
slideSpeed: 1000,
paginationSpeed: 1000,
autoplayTimeout:2000,
smartSpeed: 1000,
autoplayHoverPause:true
},
600:{
items:1.5,
nav:false,
autoplay:true,
fluidSpeed: true,
slideTransition: 'linear',
slideSpeed: 1000,
paginationSpeed: 1000,
autoplayTimeout:2000,
smartSpeed: 1000,
autoplayHoverPause:true
},
1000:{
items:2.5,
nav:true,
loop:true,
autoplay:true,
fluidSpeed: true,
slideTransition: 'linear',
slideSpeed: 1000,
paginationSpeed: 1000,
autoplayTimeout:5000,
smartSpeed: 1000,
autoplayHoverPause:true
}
}
})
</script>
<div style="display: none;">
<a href="https://en.ambiente.sk/" target="_blank" class="added_ENG">ENG</a>
</div>
<script>
$( ".added_ENG" ).insertAfter( ".navigation-buttons a:first-child" );
$('.top-navigation-tools > a:nth-child(2)').insertAfter('.navigation-buttons a:nth-child(2)');
</script>