You are viewing limited content. For full access, please sign in.

Question

Question

Spacing between fields

asked on April 13, 2017

Hi, the screenshot below show a section of my form:

We need to have Curr* and Year 1* together, Curr* and Year 2* together and Curr* and Year 3* together. There need to be more space between each pair.

How can I reduce the space at the red arrow and increase the space at the Yellow arrow?

Regards.

 

0 0

Answer

SELECTED ANSWER
replied on April 14, 2017 Show version history

You can add CSS class called "large" to those Curr fields and CSS class called "small" to those Years fields and add following custom CSS in CSS and JavaScript tab to adjust the width of the fields.

.large select{width:90% !important;}
.small input{width:60% !important;}

 

1 0
replied on April 14, 2017

Hi Xiuhong, I tried and it worked. But the field year is a bit small. How do I make it the same size as the field curr but at the same time the spacing between the pairs must be larger than the space between year and curr

sincerely,

0 0
replied on April 14, 2017

Have you tried either applying the 'large' class to input fields like so:

.large select input {width: 90% !important;}

or changing the width for the 'small' class like so:

.small input {width: 90% !important;}

You might also try adjusting the margin for Year inputs like this:

.small input {width: 90% !important; margin: 0 25 0 0;}

Adjust the second numerical margin value until you achieve the spacing you need.

0 0
replied on April 16, 2017

You can change the small class to following to increase the width of the year.

.small input{width:75% !important;}

 

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.