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.

Layout problem on address field

  1. Hi,

    On this page the zipcode (postcode) and city (plaats) fields should be on one line, but the second one seems to be half a line below the first one:
    http://nieuw.prettig-weekend.nl/adverteren/weekendjes/

    Can you please tell me what I'm doing wrong and how this can be resolved?

    Thanks!

    Posted 7 years ago on Monday April 23, 2012 | Permalink
  2. Something is placing break tags (br) in your markup:

    Screenshot

    You'll want to check for theme/plugin conflicts to track it down:

    http://www.gravityhelp.com/documentation/page/Testing_for_a_Theme/Plugin_Conflict

    Posted 7 years ago on Monday April 23, 2012 | Permalink
  3. David Peralty
    Administrator

    You have a hidden field between them and just before that hidden field is a line break that hasn't been styled.

    Try to do the following:

    #input_1_7 br { display: none !important; }

    Rob's suggestion will help you get to the bottom of it in a more comprehensive way, my solution will just get things running. :)

    Posted 7 years ago on Monday April 23, 2012 | Permalink
  4. Thanks Rob & David, that's super fast support. Much appreciated!

    @David: what should I do with the code that you provided?

    Posted 7 years ago on Monday April 23, 2012 | Permalink
  5. David Peralty
    Administrator

    Put it in your theme's stylesheet to see if it sorts out your problem. Style.css

    Posted 7 years ago on Monday April 23, 2012 | Permalink
  6. Just remember, you'll have to do that for every form/field where that's an issue, so this is more of a band-aid than a long-term fix.

    Posted 7 years ago on Monday April 23, 2012 | Permalink
  7. Thanks, that helped! I'll replicate this for other forms if I need to.

    Posted 7 years ago on Monday April 23, 2012 | Permalink
  8. Cool, glad to help.

    Posted 7 years ago on Monday April 23, 2012 | Permalink

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