Owl carousel not working under the sidebar
Author: siddheshwar-chavanCreated Jul 20, 2022Updated Mar 10, 2026
A summary of the issue and the browser/OS environment in which it occurs. If suitable, include the steps required to reproduce the bug.>
- Using multiple owl carousel in one page but all carousels are loading separately under each sidebar with separate classes in JS
- The carousel on homepage loading perfectly fine but inside sidebar images stacked on one another after clicking on the image it corrects and loads carousel normally
- This issue inside the sidebar so not found any solution on the internet yet.
<url> - a link to the reduced test case. You can use one of the following services:
https://codepen.io/siddheshwar-chavan/pen/YzaVVve
Any other information you want to share that is relevant to the issue being reported.
This might include the lines of code that you have identified as causing the bug, and potential solutions (and your opinions on their merits).
Source: OwlCarousel2/OwlCarousel2