Hi everybody,
I am desperately looking for a way to insert following code within <div class=’inner-container’></div>:
<div class='korona'></div><div class='slider'>
<ul class='slider-banner'>
<li><a href=''><img src='/wp-content/uploads/2015/12/top01.jpg'></a></li>
<li><a href=''><img src='/wp-content/uploads/2015/12/top02.jpg'></a></li>
<li><a href=''><img src='/wp-content/uploads/2015/12/top03.jpg'></a></li>
<li><a href=''><img src='/wp-content/uploads/2015/12/top04.jpg'></a></li>
<li><a href=''><img src='/wp-content/uploads/2015/12/top05.jpg'></a></li>
<li><a href=''><img src='/wp-content/uploads/2015/12/top06.jpg'></a></li>
</ul></div>
<script>
window.start=start=function()
{
setTimeout(function (){
t=document.querySelector('.slider-banner li:nth-child(1)');
t.style.opacity=0;
setTimeout(function (){
t=document.querySelector('.slider-banner li:nth-child(1)');
document.querySelector('.slider-banner').appendChild(t);
t.removeAttribute('style');
start();
},5000);
},5000);
}
start();
</script>
Would be thankful for any recommendations..
Regards
Rene
Hey rene-griebel,
Please go to enfold/includes/helper-main-menu.php file and add your code there.
If you would not like to lose the changes when you update the theme, please use a child theme – http://kriesi.at/documentation/enfold/using-a-child-theme/
Best regards,
Yigit
Thanks, I will check this out. Regards. Rene.
Hi!
Rene please feel free to let us know if we can do anything else for you.
We will be happy to help.
Cheers!
Basilis