[Special Summer Sale] 40% OFF All Magento 2 Themes

Cart

Flexslider Carousel do not display images on slider

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9297
    sadikhasan
    Participant

    Flexslider Carousel do not display images on slider but when I inspect in browser it display images.

    HTML Code

    <div class="flexslider">
      <ul class="slides">
        <li>
          <img src="http://flexslider.woothemes.com/images/kitchen_adventurer_cheesecake_brownie.jpg" />
        </li>
        <li>
          <img src="http://flexslider.woothemes.com/images/kitchen_adventurer_lemon.jpg" />
        </li>
        <li>
          <img src="http://flexslider.woothemes.com/images/kitchen_adventurer_caramel.jpg" />
        </li>
        <li>
          <img src="http://flexslider.woothemes.com/images/kitchen_adventurer_lemon.jpg" />
        </li>
      </ul>
    </div>
    

    jQuery Code

    $(window).load(function() {
      $('.flexslider').flexslider({
        animation: "slide"
      }); 
    });
    

    JS Fiddle

    #9299
    rut2
    Participant

    Add this css and try again

    .flexslider .slides > li{
        display:block;
    }
    
    #9298
    sadikhasan
    Participant

    Sorry! I forgot to import jquery.flexslider.js library and I resolve my problem to adding this library and it working fine for me.

    JS Fiddle

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.