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.

Adjusting Location of Form Field Titles

  1. Hi,
    I've done a search on this subject and did come up with other folks with the same question. However, the answers seemed geared toward updating theme .CSS files, and I don't think that applies here. Matter of fact, I worked with those solutions but that didn't help me.

    What I want to do is adjust the location of the form field sub-titles (for lack of a better term) to the TOP of the form field, rather than the bottom. By sub-titles, I'm referring to the the field names such as the various address information (i.e. address, address 2, city, zip, etc), and to the name information (i.e. First name, last name, etc).

    In my humble opinion, having some form field names on top and some on the bottom is confusing. I use Gravity Forms on quite a few websites, and would like to make this change on all of them. All websites use several different themes (Genesis, FlexSqueeze, and others).

    I did work with adjusting my theme CSS file on my Genesis child theme. That worked for bringing the small form field title higher. However, I could not get the form field itself to go lower (more top margin) without making ALL form fields drop. Having all fields positioned lower makes the form look funny when not using something with the smaller form titles (too much empty space).

    So...is there a solution for this that I can apply directly to the Gravity Forms files? Or a 'generic' style that I can apply to any theme?

    Your help is appreciated.

    Posted 12 years ago on Wednesday February 1, 2012 | Permalink
  2. Hi, arizonius,

    You can use the snippet here http://pastie.org/3196812 to move your sub-label text. You put the code in your theme's functions.php file. Make sure you do not include the opening <?php tag if you are pasting this inside an existing PHP block. Change the $apply_to_forms array to have your form's ID. If you have mutliple forms, put the IDs as a comma-delimited list.

    Posted 12 years ago on Thursday February 9, 2012 | Permalink
  3. Beautiful!!

    Thank you very much.

    Posted 12 years ago on Friday February 10, 2012 | Permalink

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