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

  • Profile Image
    tattoos_n_bumperplates
    Asked on April 06, 2018 at 01: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 

  • Profile Image
    Kevin_G
    Answered on April 06, 2018 at 02: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. 

  • Profile Image
    tattoos_n_bumperplates
    Answered on April 06, 2018 at 04: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.  

  • Profile Image
    Kevin_G
    Answered on April 06, 2018 at 05:20 PM

    Yes, this code should help you resolving that: 

    .form-all {

        margin-left: auto !important;

        margin-right: auto !important;

    }

    Thanks.