WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. kits
    Member
    Posted 2 years ago #

    hi
    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

    http://wordpress.org/extend/plugins/wp-syntaxhighlighter/

  2. redcocker
    Member
    Plugin Author

    Posted 2 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,
    .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
    Member
    Posted 2 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

About this Topic