How to make my scale rating mobile responsive

  • Profile Image
    supportcpl
    Asked on February 19, 2020 at 10:35 AM

    Can you please provide CSS to make the scales at the end of the survey (Q8A-Q8G) fit on a phone screen? We would like to keep the rating text. 

  • Profile Image
    Sonnyfer
    Answered on February 19, 2020 at 12:47 PM

    Hi,

    Please allow me some time while I do some tests on my end. I'll get back to you in this thread as soon as I have results to share.

  • Profile Image
    Sonnyfer
    Answered on February 19, 2020 at 02:11 PM

    Thanks for your patience.

    Please try injecting this CSS code to your form and let us know how it goes.

    @media screen and (max-width: 480px) {

      .form-scale-table th, .form-scale-table td {

        padding: 0px;

        font-size: 70%;

      }

    }

    Guide: How-to-Inject-Custom-CSS-Codes


  • Profile Image
    supportcpl
    Answered on February 19, 2020 at 02:25 PM

    That looks great, except that it adds both vertical and horizontal scroll bars, even though everything seems to fit within the limits of the screen. Is there a way to prevent those from appearing?

    1582140263mobile capture.PNG     1582140286tablet capture.PNG


  • Profile Image
    Sonnyfer
    Answered on February 19, 2020 at 04:42 PM

    Hi,

    As requested, kindly inject below CSS code if you wish to get rid of both scrollbars.

    .form-line.jf-required{

      overflow:hidden;

    }

    1582148459carrollton.png

    Please let us know if you need further assistance.

  • Profile Image
    supportcpl
    Answered on February 19, 2020 at 04:49 PM

    Thank you! This was exactly what we were looking to do.