How to remove the vertical spacing between radio buttons?

  • kristinemusaraca
    Asked on September 24, 2018 at 1:33 PM

    I'm not seeing anything in the CSS causing this. How do I decrease the vertical spacing without adding a bunch of ID-specific custom CSS?

    Also, I have not seen the live chat option for a week. Is that feature no longer offered?

    Jotform Thread 1589723 Screenshot
  • Nik_C
    Replied on September 24, 2018 at 2:33 PM

    You can use the below CSS, just insert it in your Custom CSS field:

    .form-radio-item {

        margin-bottom: -5px!important;

    }

    That will make the fields look like this:

    1537813969Screen Shot 2018 09 24 at 8 Screenshot 10

    Chat option is available depending on how busy our Forum is, it is not available all the time.

    Let us know how the above worked for you.

    Thank you!

  • kristinemusaraca
    Replied on September 24, 2018 at 2:39 PM

    That worked great! What about the check boxes? Apparently those are styled to resemble radio buttons, and have the vertical spacing issue, as well.

  • kristinemusaraca
    Replied on September 24, 2018 at 2:45 PM

    I was able to find the check box variant. 

    How do make the header image adjust to the width of the viewing screen? 

  • Nik_C
    Replied on September 24, 2018 at 2:50 PM

    You can reduce the header size by clicking on it in the form builder and reducing the width/height directly there:

    1537815014Screen Shot 2018 09 24 at 8 Screenshot 10

    Let us know if that is what you had in mind.

    Thank you!


  • kristinemusaraca
    Replied on September 24, 2018 at 2:54 PM

    I was thinking something responsive - if view is x-width, scale down header to fit?

  • Nik_C
    Replied on September 24, 2018 at 3:32 PM

    I'm not sure on which device(s) you're viewing your form, but I tested on iPhone and it looked fine:

    1537817298IMG 149388135D0E 1 Screenshot 10

    Anyhow, there is a CSS code you can use to adapt certain element(s) in your form when viewed on different devices.

    For example:

    @media only screen 

    and (min-device-width : 375px) 

    and (max-device-width : 667px) {

    .form-all:before {

    background-size: 50%;

    }

    That will adapt header to 50% of its size when vewed on iPhone 6,7,8.

    That code should be inserted in Custom CSS of your form.

    Let us know if that works for you.

    Thank you!

  • kristinemusaraca
    Replied on September 24, 2018 at 4:18 PM

    Great, thank you! No more questions!