Messed up Fields on mobile phones

  • Profile Image
    EffieMcNair
    Asked on February 07, 2016 at 09:43 AM

    Hi There,

    Could you please check why is my form all messed up on mobile phones? I tried to follow the instructions in your guide also tried the widget without much luck.

    I have attached the URL. The first form is not too bad (a simple one) but the rest are messed up.

     

    Thanks

    Effie

  • Profile Image
    EltonCris
    Answered on February 07, 2016 at 01:55 PM

    That's because of the CSS codes you've injected/added in your form with !important rule that is overpowering the mobile CSS.

    These are the following:

    I suggest to get rid of this CSS codes or enclose them with media query that only executes on larger screens e.g. desktop but not on mobile.

    Example:

    @media screen and (min-width:1024px){

    /**place all your desktop style below this line like the following**/

    #label_242{

    max-width:70px !important

    margin:0 10px 0px 105px !important;

    }

    /**end of desktop styles**/

    }

    And please remove !important if enclosing it with media query doesn't help.

    If you need further assistance, do let us know.