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.

fields next to each other

  1. old_blueyes
    Member

    Hello,

    I am having some trouble aligning some fields next to each other, and was wondering whether you can help?

    I have checked the forums before I posted and from what I can make out from other topics it is possible via CSS but I am having trouble selecting the fields from my stylesheet.

    I also noticed that you told someone previously with the same problem to post a link with their form and you could workout the required css from there.

    So I was wondering whether you might be able to do the same for me? My link is here:

    http://www.palaceentertainments.co.im/sidebar-right-page-2/

    And I wish for the Title and Date of Birth fields alongside each other as well as the Telephone and Mobile Phone fields?

    I hope you can help!

    Thanks, Awesome plugin!!!!

    Posted 13 years ago on Tuesday October 4, 2011 | Permalink
  2. You can use the built-in CSS Ready Classes to do what you want.

    Try using the "gf_inline" class name on the first two fields then the "gf_left_half" on the mobile phone field and finally the "gf_right_half" class name on the email field.

    That should get you where you want to be.

    test screenshot: http://bit.ly/rumDHH

    Here's the info on using the Ready Classes. You'll probably want to use them again later for other layouts as well.

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

    Posted 13 years ago on Tuesday October 4, 2011 | Permalink
  3. old_blueyes
    Member

    Hi Kevin,

    Just fixed it actually, some reason it didnt save the left hand side css class when i saved.

    Thanks

    Posted 13 years ago on Tuesday October 4, 2011 | Permalink

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