PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

RTL since 1.6

  1. AlexL
    Member

    Hello members.
    I need support for RTL version.

    i try ti change in css this value as in this tutorial http://www.gravityhelp.com/forums/topic/align-form-to-the-right-1 but isn't help me. it's just move text to right, but not field and places of labels and input values.

    i can change it via css but, doesn't know if it's will be work normal as it?

    Please help me.

    Posted 12 years ago on Thursday September 6, 2012 | Permalink
  2. Front-end RTL support is already included in the latest version of Gravity Forms. That post you referenced is older and you shouldn't have to add any additional CSS if you're using an RTL language and the body tag has the RTL class.

    Can you post a URL to your form page so we can take a look at it?

    Posted 12 years ago on Thursday September 6, 2012 | Permalink
  3. AlexL
    Member

    its' doesn't work me,

    i can't send you link because it's in localhost.

    i can upload to web to show you, but it will take some time.

    Version of plugin 1.6.7

    Posted 12 years ago on Thursday September 6, 2012 | Permalink
  4. AlexL
    Member

    hello,
    this is a example

    http://www.alechko.name/%D7%A2%D7%9E%D7%95%D7%93-%D7%91%D7%93%D7%99%D7%A7%D7%94/

    Posted 12 years ago on Thursday September 6, 2012 | Permalink
  5. AlexL
    Member

    i think i know what is a solution. i must add class to body named rtl? (body class="rtl ... ") ?

    Posted 12 years ago on Thursday September 6, 2012 | Permalink
  6. Most likely, yes. It does not look like your them has body classes added to the body tag at all. I see this in the source:

    [html]
    <body>

    When body classes are in use, it might look more like this:

    [html]
    <body class="home blog logged-in rtl admin-bar single-author two-column left-sidebar">

    Take a look at your theme's header.php or equivalent (wherever the body tag is output) and change it to this:

    [php]
    <body <?php body_class(); ?>>

    If you are using a current version of WordPress (it looks like you are) then that will work fine. Check the body class after doing that and ensure that rtl is one of the classes.

    Posted 12 years ago on Thursday September 6, 2012 | Permalink
  7. AlexL
    Member

    Thank you, that is was a problem. rtl in body class must be :)

    Posted 12 years ago on Thursday September 6, 2012 | Permalink
  8. Very good. Thanks for the update.

    Posted 12 years ago on Friday September 7, 2012 | Permalink

This topic has been resolved and has been closed to new replies.