Title: RTL switching
Last modified: August 24, 2016

---

# RTL switching

 *  Resolved [Jeremy Varnham](https://wordpress.org/support/users/jvarn13/)
 * (@jvarn13)
 * [11 years ago](https://wordpress.org/support/topic/rtl-switching/)
 * I have a dual-language site that switches between LTR and RTL layouts. I’d like
   to have the menu slide from right with RTL and slide from left with LTR, but 
   owing to animation it’s not just a CSS tweak.
    Is there a way to switch left/
   right accordingly without barbarous hacking of existing code in getJS()?
 * [https://wordpress.org/plugins/responsive-menu/](https://wordpress.org/plugins/responsive-menu/)

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

 *  [peterfeatherstone](https://wordpress.org/support/users/peterfeatherstone/)
 * (@peterfeatherstone)
 * [11 years ago](https://wordpress.org/support/topic/rtl-switching/#post-6058887)
 * Hi Jeremy,
 * Unfortunately I fear this will involve some barbaric hacking as you say, let 
   me see if I can have a play and a think and see if I can find a way to work this
   in somehow.
 * Many thanks
 * Peter
 *  Thread Starter [Jeremy Varnham](https://wordpress.org/support/users/jvarn13/)
 * (@jvarn13)
 * [11 years ago](https://wordpress.org/support/topic/rtl-switching/#post-6058889)
 * Since you already have the option to select left, right, top, or bottom, would
   it be possible to make that an option that is selectable by way of the shortcode?
 * Since mine is quite a niche case, I imagine this may be the most flexible approach,
   as it places the onus of language detection, option selection, and additional
   CSS in the hands of theme developers, while also having potential utility in 
   alternative scenarios.
 *  [peterfeatherstone](https://wordpress.org/support/users/peterfeatherstone/)
 * (@peterfeatherstone)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/rtl-switching/#post-6058926)
 * Hi Jeremy,
 * I have been playing with this but the problem is that the shortcode can only 
   affect the HTML display output at the moment and not the JS and CSS scripts as
   these are created on saving the options and therefore can’t be dynamically over-
   ridden.
 * There are of course ways around this, however it would take some work and I just
   don’t have sufficient time to implement at this time.
 * I have however put this on my development list for consideration so it may be
   that I can include this for you in future releases.
 * Many thanks
 * Peter

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

The topic ‘RTL switching’ is closed to new replies.

 * ![](https://ps.w.org/responsive-menu/assets/icon-256x256.png?rev=1782326)
 * [Responsive Menu - Create Mobile-Friendly Menu](https://wordpress.org/plugins/responsive-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-menu/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [peterfeatherstone](https://wordpress.org/support/users/peterfeatherstone/)
 * Last activity: [10 years, 12 months ago](https://wordpress.org/support/topic/rtl-switching/#post-6058926)
 * Status: resolved