Hi,
After I changed the sidebar width to 300px, the homepage news slider widget overlaps with the one below it. This is only when viewing on mobile.
Here is what it looks like on my tablet: http://tinyurl.com/nvujxaf
I think I found the code that is causing this problem.
In the footer, there is:
<script>
var height = jQuery(‘.news-slider’).height();
jQuery(‘.news-slider .carousel’).css(‘height’, height);
</script>
When I remove this, the problem goes away. Can this be fixed?
Do I need this code? It doesn’t seem like anything is affected when I remove it.
Hello Brooks!
Script code that you sent me, it is used to calculate the height of image in the News Carousel. if you use the height image which is larger than 400px, the code will not affect.
Regards,
Dominic
Please login or Register to submit your answer