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:
var height = jQuery(‘.news-slider’).height();
jQuery(‘.news-slider .carousel’).css(‘height’, height);
When I remove this, the problem goes away. Can this be fixed?
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.
Please login or Register to submit your answer