Post Carousel – RTL fix

If you try to use post carousel page builder element on your RTL site, you’ve probably noticed some problems (either carousel doesn’t load properly or it works with glitches).

This is a problem with Slick carousel script which is used under the hood.

The solution is very simple. Please follow these instructions:

  1. open framework-customizations/extensions/shortcodes/shortcodes/tb-carousel/views/view.php
  2. find this line
slidesToShow: 3,

and above it add this one:

rtl: true,

Save and test.

NOTE: if you plan to update the theme on your site, please be aware that this change will disappear. So, we strongly recommend to use the child theme and recreate path given in step 1. Then you will change framework-customizations/extensions/shortcodes/shortcodes/tb-carousel/views/view.php from the child theme.

 

0