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.

English form LTR issue on a hebrew website

  1. I have a website localised to hebrew, and I want to put additional english based form,
    http://reflok.co.il/contact/
    The problem is that gravity form sets itself via body "rtl"...
    I can "manually" fight it with my !important rules, but I am looking for a better solution.
    any suggestions?
    10x

    Posted 13 years ago on Wednesday October 31, 2012 | Permalink
  2. The RTL class is being added by your language settings.. not the forms themselves. The form styles exist and will be applied if the RTL class is on the body tag.

    You can always copy the Gravity Forms styles to your theme stylesheet and disable the CSS output in the settings. Then, you can manually remove or edit the RTL styles in the form styles section to work any way you prefer.

    Posted 13 years ago on Wednesday October 31, 2012 | Permalink
  3. I need to override them for "One" specific form,
    I know how to do it manually.... my question was, if I can override it "more easily" like adding a shortcode param to override a default setting.
    [gravityform id="1" name="Contact Us" dir="rtl"]
    10x

    Posted 13 years ago on Wednesday October 31, 2012 | Permalink
  4. Nope. No shortcode. You can apply a custom class name to your "one" form.. something like "nortl" then define new left alignment rules for that form. There's no shortcut, you'll have to manually craft some CSS to make it work for you. The good thing here is that once you've defined that class it's easy enough to apply it to other forms as you need. Good luck with it.

    Posted 13 years ago on Wednesday October 31, 2012 | Permalink