Title: RTL Not Working
Last modified: May 2, 2019

---

# RTL Not Working

 *  Resolved [lewisjames24](https://wordpress.org/support/users/lewisjames24/)
 * (@lewisjames24)
 * [7 years ago](https://wordpress.org/support/topic/rtl-not-working-3/)
 * Hello,
 * There seems to be a problem when trying to use the RTL option on the shortcode.
 * According to the slick docs, an RTL slider must have the attribute ‘dir=”rtl”‘
   on the parent element of the slider ([https://kenwheeler.github.io/slick/#slick-slide142](https://kenwheeler.github.io/slick/#slick-slide142)).
 * In both a production site and a development site I have tried to use ‘rtl=”true”
   on the shortcode, but the slider doesn’t appear as the parent attribute is missing.
   Adding the parent attribute in manually seems to do the trick – could this get
   added as a fix in an update?
 * Steps to reproduce –
    -Install WooCommerce and add some sample data. -Install
   Woo Product Slider plugin -Add shortcode to site to include autoplay and rtl=”
   true”.
 * tested on a free theme called Kyma ([https://en-gb.wordpress.org/themes/kyma/](https://en-gb.wordpress.org/themes/kyma/))
   and on Storefront by WooCommerce ([https://woocommerce.com/storefront/](https://woocommerce.com/storefront/)).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Rafik](https://wordpress.org/support/users/rafikwp/)
 * (@rafikwp)
 * [7 years ago](https://wordpress.org/support/topic/rtl-not-working-3/#post-11507859)
 * Hello,
 * Can you please share your page link so we can check and help you.
 * Thanks
 *  Thread Starter [lewisjames24](https://wordpress.org/support/users/lewisjames24/)
 * (@lewisjames24)
 * [7 years ago](https://wordpress.org/support/topic/rtl-not-working-3/#post-11508738)
 * Hi Rafik,
 * Yes: [http://development.skyline-internet.com/demoshop/](http://development.skyline-internet.com/demoshop/)
 * According to the slick website, when setting RTL to true, you also need to add
   an attribute to the container element of ‘dir=”rtl”‘.
 * I have inspected the plugin and it looks like you support ‘rtl=true’ as an attribute
   in the shortcode. I believe the fix would be as simple as checking if $rtl is
   true (Where $rtl is the shortcode attribute), and if it is true then output ‘
   dir=”rtl”‘ to the parent element.
 *  [Rafik](https://wordpress.org/support/users/rafikwp/)
 * (@rafikwp)
 * [7 years ago](https://wordpress.org/support/topic/rtl-not-working-3/#post-11513665)
 * Hello,
 * Please Go here [https://nimb.ws/EOkls9](https://nimb.ws/EOkls9) and select any
   RTL language and then check slider will work.
 * Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘RTL Not Working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woo-product-slider-and-carousel-with-
   category_404661.svg)
 * [Product Slider and Carousel with Category for WooCommerce](https://wordpress.org/plugins/woo-product-slider-and-carousel-with-category/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-product-slider-and-carousel-with-category/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-product-slider-and-carousel-with-category/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-product-slider-and-carousel-with-category/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-product-slider-and-carousel-with-category/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-product-slider-and-carousel-with-category/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Rafik](https://wordpress.org/support/users/rafikwp/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/rtl-not-working-3/#post-11513665)
 * Status: resolved