What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
How to reduce the space between Numeric Slider widgetsAsked by laundrycare on September 15, 2016 at 09:53 AM
I am using Numeric Sliders on my form and I'd like to decrease the space between sliders:
Does anyone know the css code I'd use to do this? The sliders are taking up a lot of space on my form.
Numeric reduce spacing
I've adjusted the spacing of the widgets and brought back the original size of the form collapse to prevent the fields from overlapping. Please check and let us know if you want to keep it.
Thanks for responding. I actually want the padding between the Numeric Slider widgets reduced, as opposed to the collapsible form separators. For example, the space between "New Terminations" slider and "New Issues" sliders. There's a lot of blank space in-between that I'd like to reduce. Can you help with that or tell me what css to inject?
Here are the custom CSS codes that I have injected in the form:
padding: 0 35px;
margin: 0 auto;
You can add the following to lower the spacing:
The custom CSS codes are applied to the entire widgets in the form even not the numeric sliders. If you need to apply it to the specific numeric slider widget, you have to target its ID instead of its data type.
For the "New Terminations":
For the New Issues:
To get the widget ID, you need to use the Inspect Element in your browser.
Let us know if you need further assistance.
Thanks but when I try to change a specific numeric slider widget, the custom css does not work. I did try with the target ID and it doesn't appear to do anything. When I add your custom css to the entire widgets, it causes one of my tables to overlap with other widgets.
I want to just reduce the spacing between the numeric slider widgets but can't seem to do on specific widgets, with the css code you've provided.
Please try the following custom CSS codes instead. This time, you'll see the widget ID's.
I hope this works for you.