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.

CSS Class Name Issue

  1. WyattK
    Member

    Hi Everyone,

    New to Gravity as of today. :-)

    URL: http://www.autorepairwand.com

    1. I added a CSS Class Name to my form. I am having a problem calling that class in my CSS because for some reason Gravity Forms adds a bunch of spaces before the class name. The particular class name I added to the MODEL part of the form (line 4 of form) is "modeler."

    Please help. I need to get the form styled the way I need it within the next day or so. Thank you.

    Posted 13 years ago on Wednesday April 27, 2011 | Permalink
  2. Gravity Forms doesn't do anything fancy with the class name field, it simply echoes out exactly what you've typed in. Did you copy and paste your class name in from somewhere? Usually when this happens, its because extra blank characters were copied and pasted in with the class name. Try removing the class name entirely, saving the form, the adding the name back manually and see where that gets you.

    Posted 13 years ago on Wednesday April 27, 2011 | Permalink
  3. WyattK
    Member

    Thanks Kevin. Greatly Appreciated. If you have a second, I was also wondering if it is possible to create a form where some of the fields are inline. For instance, I would like to have the Auto Make, Year, and Model appear on the same line. Is there documentation that speaks to this issue? If there is no documentation, does your company do custom work? I have a vision for our form, but I do not have enough CSS and HTML knowledge to make it happen.

    Thanks again.

    Wyatt

    Posted 13 years ago on Wednesday April 27, 2011 | Permalink
  4. You can try using the CSS Ready Classes to put your fields into a columnar format

    http://www.gravityhelp.com/documentation/page/CSS_Ready_Classes

    If you simply want to put the 3 fields on one line and aren't actually trying to create a columnar layout, then you can use the "gf_inline" ready class. You would use that on the 3 fields you want to line up. I actually haven't documented that yet (my bad), but it's in the 1.5 release that's out now.

    We don't do custom work any longer, but if you need, we can gladly suggest a few developers that we know do really good work.

    Posted 13 years ago on Wednesday April 27, 2011 | Permalink