WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] rtl.css - just noticed this - what is it? (10 posts)

  1. Johnny Bravo
    Member
    Posted 4 years ago #

    hio
    ive just noticed a new stylesheet called rtl.css pop up out of nowhere in my local root folder, where has it come from and what is it for? i certainly didnt create it.
    thanks in advance

  2. alchymyth
    The Sweeper & Moderator
    Posted 4 years ago #

    for people writing right-to-left.
    the default theme has one of those style sheets as well, and even a special background image.

  3. Johnny Bravo
    Member
    Posted 4 years ago #

    thanks for the reply :)
    do i need it? why has it just 'popped up' out of nowhere lol

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    Not unless you intend publishing in a language that reads from right-to-left.

  5. Johnny Bravo
    Member
    Posted 4 years ago #

    lol not really esmi, can i just delete it?

  6. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    yep....but it doesn't really hurt anything sitting there

  7. Kruncher
    Member
    Posted 3 years ago #

    I am developing a theme for WordPress which will support language translation using a plugin like GTranslate.

    Do I need to write a custom rtl.css file for my theme? If it is a good idea for me to write this file, how would I go about testing it?

    Thanks,

  8. TotallyLost
    Member
    Posted 3 years ago #

    Kruncher,

    If you plan on developing a theme for anyone to use, especially one which will support language translation... then yes it would be best to write a custom rtl.css for that as well.

    Instead of imputing style.css like here:

    <link href="style.css" rel="stylesheet" type="text/css" />

    you would imput the rtl.css

  9. TotallyLost
    Member
    Posted 3 years ago #

    has to be in the same folder though... same rules apply

  10. Kruncher
    Member
    Posted 3 years ago #

    Thank you for the info!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags