ehermesman Posted December 22, 2014 Posted December 22, 2014 What would be the CSS to adjust the vertical spacing between a forms input fields. I'm using a form block.
McLean25 Posted December 22, 2014 Posted December 22, 2014 Add this to the Custom CSS Editor: .form-wrapper .field-list .field { margin: 0px 0px 0px -2%; } Play with these values to get your desired effect. The values they are at right now are the ones that are default on my site. The first "0px" will change the vertical spacing between the items. Hope this helps, ask if you have any more issues.
ehermesman Posted December 23, 2014 Author Posted December 23, 2014 Thanks for the response. It seems this code adjusts the horizontal position of the input fields. I'm looking for something that does this: http://www.jotform.com/help/156-How-to-Reduce-Vertical-Spacing-between-Fields
McLean25 Posted December 23, 2014 Posted December 23, 2014 I figured out how to do exactly what you want. Only thing is I think you have to put the code for each individual item. If you give me the link to your site I can customize the code for you so it works properly.
McLean25 Posted December 23, 2014 Posted December 23, 2014 Ignore the last comment I made. Try using this code: .form-wrapper .field-list .field { position: relative; margin: -20px 0px 24px; }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.