Vertical scroll disable mobile devices

Home Forums Gym Master Theme Support Vertical scroll disable mobile devices

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #175237
    Jordi de HaanJordi de Haan
    Participant
    • Topics: 4
    • Replies: 17
    • Total: 21
    Member since: November 26, 2020

    Hi,

    I want disable the vertical scroll on my website: http://www.jordidehaan.nl. Only on mobile devices.
    When you visit my website, you can move to left or right. That make some people seasicks. It has to be static with only horizontal scrolling.
    Maybe you have code to turn off the vertical scroll on mobile devices.
    It should only be possible when you are zooming on the site.

    Thanks!!

    Regards,

    Jordi de Haan

    #175242
    Jordi de HaanJordi de Haan
    Participant
    • Topics: 4
    • Replies: 17
    • Total: 21
    Member since: November 26, 2020

    Already fixed it.

    body, html { overflow-x:hidden; }

    #175281
    Forum ModeratorForum Moderator
    Participant
    • Topics: 0
    • Replies: 27940
    • Total: 27940
    Member since: August 16, 2013

    Cool

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.