WP SyntaxHighlighter
[resolved] line number has been on right side (3 posts)

  1. kits
    Posted 4 years ago #

    The languages of my weblog is Farsi(Persian) and this languages is RTL

    when i used this plugin to show code the number line shown on right side of code
    how can solved this problem to show line number on left side of code


  2. redcocker
    Plugin Author

    Posted 4 years ago #

    Hi, kits san

    I may be mistaken, because my language is LTR, but I think like as follows.

    1. Please go to the setting panel.
    2. Enter following css into "Stylesheet" and enable "Use additional CSS".

    .syntaxhighlighter a,
    .syntaxhighlighter div,
    .syntaxhighlighter code,
    .syntaxhighlighter table,
    .syntaxhighlighter table td,
    .syntaxhighlighter table tr,
    .syntaxhighlighter table tbody,
    .syntaxhighlighter table thead,
    .syntaxhighlighter table caption,
    .syntaxhighlighter textarea {
    direction: ltr;
  3. kits
    Posted 4 years ago #

    hi redcocker
    i do that, and the line number show in left side

    thank you

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP SyntaxHighlighter
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic