Question Text does not stay on one line - Mobile view different than Desktop view

  • tattoos_n_bumperplates
    Asked on April 6, 2018 at 1:58 PM

    The Question Text is displayed as two or more lines on a Desktop browser.  Can I fix the Question Text to show as one line on Desktop?  It does in Mobile.


    Please see screenshots.


    Thank you 

    Jotform Thread 1437614 Screenshot
  • Kevin Support Team Lead
    Replied on April 6, 2018 at 2:30 PM

    Please inject the following CSS code to display the labels as desired: 

    .form-label {

        width: 100% !important;

    }

    Guide: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    I hope this helps. 

  • tattoos_n_bumperplates
    Replied on April 6, 2018 at 4:08 PM

    Thank you Kevin!  That worked.  Do you happen to know the CSS to center the form?  It leans to the left in Mobile view.  

  • Kevin Support Team Lead
    Replied on April 6, 2018 at 5:20 PM

    Yes, this code should help you resolving that: 

    .form-all {

        margin-left: auto !important;

        margin-right: auto !important;

    }

    Thanks.