How to cut title text into 2 lines in mobile view?

  • Profile Image
    Asked on August 28, 2018 at 12:43 PM

    Hello Jotform team !

    On mobile, the title text does not "cut" into 2 lines relevantly.

    Is there some code I can add so that my text cuts just after "Rejoins les amoureux de".

    This means that is will display :

    "Rejoins les amoureux de 


    on mobile.

    Thanks in advance


  • Profile Image
    Answered on August 28, 2018 at 02:25 PM

    You can add this custom css code to resize the width of your header text.


    Please give it a try and let us know how it goes.

    Thank you.

  • Profile Image
    Answered on August 29, 2018 at 03:24 AM

    Thanks !

    The CSS works but the "cut effect" is now on both mobile and desktop. I need the line to be cut on mobile only. How do I do that ?


  • Profile Image
    Answered on August 29, 2018 at 09:08 AM


    To take effect for mobile devices only, the code must be added within @media query:

    1535548005The Easiest Online Form Builde

    I have injected the code into your form 

    Please test it again and let us know if you need more help.