I have a working set of tabs. I am trying to add a flexslider to one of the tabs. The flexslider works when not inside the tab. Inside the tab, there is an issue with the width and they are loading on top of each other.
Here is my flexslider code:
Code <script> require(['jquery', 'flexslider'], function($) { $(window).on('load',function() { var storiesWidth = $('.stories').width(); var storyWidth; if (storiesWidth >= 1280) { storyWidth = storiesWidth / 3; } else if (storiesWidth >= 522) { storyWidth = storiesWidth / 3; } else { storyWidth = storiesWidth; } $('.stories .flexslider').flexslider({ animation: "slide", // fasde doesn't work for carousel animationLoop: false, slideshow: false, controlNav: false, itemWidth: storyWidth, itemMargin: 0 }); }); }); </script>
We don't see any code... But this seems specific to your implementation.
Do you only have the issue in the admin interface or also on the live site?
Code wasnt showing up. Now it is.
Please, sign in to be able to submit a new answer.