What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to disable my website scrolling on PC?

    Asked by ipbr21054 on January 02, 2017 at 09:02 AM

    Hi,

    Happy New Year.

     

    I know this is not form related but ive had a mental mind block & need a pointer please.

    Take this page for example  http://www.theremotedoctor.co.uk/accsuzuki.html?scrollto=selection

    As you can see when you come to the page it scrolls to CONTENT or either SELECTION depending on the page etc.

    This currently works fine on Pc & Mobiles etc BUT i want to stop it scrolling on the Pc but others to work as is.

     

    Thanks.

    Page URL:
    http://www.theremotedoctor.co.uk/accsuzuki.html?scrollto=selection

  • Profile Image
    JotForm Support

    Answered by candy on January 02, 2017 at 09:44 AM

    Hello,

    You can disable the scrolling on your website only on the PC adding the following CSS codes into your website:

    #home{

    overflow: hidden !important;

    }

    @media only screen and (max-device-width: 768px){ /*tablet*/

    #home{

    overflow: scroll !important;

    }

    }

    @media only screen and (max-device-width: 500px){ 

    #home{

    overflow: scroll !important;

    }

    }

     

    I think if you stop scrolling on PC, your website will not work as good as it works now. My recommendation would be not to touch scrolling.

     

    Thanks.

  • Profile Image

    Answered by ipbr21054 on January 02, 2017 at 10:12 AM

    I assume this would be in the Basic css file but can you advise the exact point at which it needs to be inserted. 

    Thanks  

     

     

  • Profile Image
    JotForm Support

    Answered by owen on January 02, 2017 at 10:34 AM

    Hi,

    I do not think it matters where you insert the code if it's a .css extension file. However, since your question is not actually related with JotForm it'd be better if you could consult to a web developer. We'd be glad to help you but since we can not take full responsibility on what to happen on your website this should be a better way of handling issues. 

    Please contact us again if you need any further assistance.