Flexslider carousel, slide width issue

I am using the WooTheme Flexslider script to launch a slide show using the carousel slider as it navigates, but I am having a strange carousel problem since the slides are 0 pixels wide. If the browser is resized, the slides will revert to their correct sizes, so it appears to be on the initial page load.

I checked this thread , but none of these solutions fixed the problem for me.

Here is a sample URL and below - this is the choice of code that I run;

JQuery

$('#home-carousel').flexslider({
    animation: "slide",
    controlNav: false,
    prevText: '',
    nextText: '',
    slideshow: false,
    itemWidth: 500,
    itemMargin: 0,
    minItems: items,
    maxItems: items,
    move: 1,
    asNavFor: '#home-slider2'
});

If someone can shed light on this, that would be great

+4
source share

Source: https://habr.com/ru/post/1525253/


All Articles