Title: [Plugin: SyntaxHighlighter Evolved] LTR Code on RTL Arabic Page
Last modified: August 19, 2016

---

# [Plugin: SyntaxHighlighter Evolved] LTR Code on RTL Arabic Page

 *  Resolved [Ahmad Bagadood](https://wordpress.org/support/users/tawqee3/)
 * (@tawqee3)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-syntaxhighlighter-evolved-ltr-code-on-rtl-arabic-page/)
 * How can I force the code to display LTR in a **RTL** page?
 * Thnx 4 ur support n advance.

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

 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-syntaxhighlighter-evolved-ltr-code-on-rtl-arabic-page/#post-1130731)
 * No idea honestly. I didn’t write the JS/CSS my plugin uses.
 * You may need to make a custom CSS file.
 *  Thread Starter [Ahmad Bagadood](https://wordpress.org/support/users/tawqee3/)
 * (@tawqee3)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-syntaxhighlighter-evolved-ltr-code-on-rtl-arabic-page/#post-1130819)
 * I did wrap the whole code in a `<p dir="rtl">` but that didn’t help. CSS didn’t
   help either.
 * **Any idea where exactly is the JS formatting?**
 *  [code_m3](https://wordpress.org/support/users/code_m3/)
 * (@code_m3)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-syntaxhighlighter-evolved-ltr-code-on-rtl-arabic-page/#post-1130850)
 * Hey Tawqee3
 * I had the same problem, all you have to do is simple fix in the core CSS file:
   
   wp-content/plugins/syntaxhighlighter/syntaxhighlighter/styles/shCore.css
 * Add the following in this .syntaxhighlighter classname:
    direction: ltr !important;
 * Thie forces the main div to render the text inside it to LTR on RTL pages.
 * Regards,
    Abdulrahman
 *  Thread Starter [Ahmad Bagadood](https://wordpress.org/support/users/tawqee3/)
 * (@tawqee3)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-syntaxhighlighter-evolved-ltr-code-on-rtl-arabic-page/#post-1130904)
 * Thnx my fellow Arab friend, Abdulrahman 🙂
 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-syntaxhighlighter-evolved-ltr-code-on-rtl-arabic-page/#post-1130905)
 * Modifying that file is no longer needed. I added it to my plugin a long while
   back. 😉

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

The topic ‘[Plugin: SyntaxHighlighter Evolved] LTR Code on RTL Arabic Page’ is closed
to new replies.

## Tags

 * [direction](https://wordpress.org/support/topic-tag/direction/)
 * [RTL](https://wordpress.org/support/topic-tag/rtl/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-syntaxhighlighter-evolved-ltr-code-on-rtl-arabic-page/#post-1130905)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
