Adjusting form header in mobile device

  • osifekogina
    Asked on May 9, 2025 at 7:35 AM

    Hello, the header on my form appears fine on my laptop, but shifts when in mobile view. here is the link https://form.jotform.com/osifekogina/powering-subnational-development--- . also there seems to be some space after the header on the mobile view but it is just fine on my computer system

    Jotform Thread 26851781 Screenshot
  • Joeni JotForm Support
    Replied on May 9, 2025 at 8:06 AM

    Hi Fisayo,

    Thanks for reaching out to Jotform Support. I'll need a bit of time to look into this. I'll get back to you as soon as I can.

    Thanks for your patience, we appreciate it.

  • Joeni JotForm Support
    Replied on May 9, 2025 at 8:46 AM

    Hi Fisayo,

    To adjust the form logo for better display on mobile devices, try injecting the following CSS code. Let me show you how:

    1. First, copy this code.

    @media screen and (max-width: 780px) {
      .form-section div.form-header-group.header-large {
        margin: 0;
        padding: 0;
        width: 395px;
        height: 125px;
        position: relative;
        left: -38px;
        bottom: 68px;
      }
      li#cid_27 .form-input-wide {
       bottom: 20px;
      }
    }

    2. In Form Builder, click on the Paint Roller icon on the upper right side of the panel to open the Form Designer Menu.

    3. Go to the Styles tab and add the CSS Code to the Inject Custom CSS input box. Adjusting form header in mobile device Image 1 Screenshot 30 Take a look at the screenshot of the result below:

    Adjusting form header in mobile device Image 2 Screenshot 41

    If the same thing happens again, can you let us know the specific mobile device you're using so we can help you better with this?

    Give it a try and let us know how it goes.

  • osifekogina
    Replied on May 9, 2025 at 10:05 AM

    Thank you, it helped but not completely, the header is still sticking out of the form frame to the right.. the text in the header also has no margin on the leftAdjusting form header in mobile device Image 1 Screenshot 20 compared to the desktop display.

  • Joeni JotForm Support
    Replied on May 9, 2025 at 10:24 AM

    Hi Fisayo,

    Can you try adding the code below:

    .form-all:before {
        background-size: contain !important;
       }

    Take a look at the screenshot of the result below:

    Adjusting form header in mobile device Image 1 Screenshot 20

    Give it a try and let us know how it goes.

  • fisayo
    Replied on May 10, 2025 at 6:04 AM

    the issue with my header is now resolved. however,

    i am unable to access the form. there is an error message saying my ip has been banned.
  • Royce JotForm Support
    Replied on May 10, 2025 at 8:50 AM

    Hi Fisayo,

    As for your other question or concern, to avoid confusion, I've moved that to a new thread. You can check that out here.

    Let us know if there’s anything else we can help you with.

Your Answer