1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Solved Horizontal scrolling issue

Discussion in 'Free Divi Community Forum' started by chris r, Jan 9, 2020.

  1. chris r

    chris r Member

    Hi,

    I'm trying to fix a Divi site that for some reason only on a tablet view can scroll to the right. The site doesn't fit within the tab boundaries. First time I've seen this one with Divi.

    At first there was a horizontal scrollbar because the top header menu extended further to the right of the content under it. There was white space on the right in the body for the area that the header menu extended farther to the right. For that I put in this fix:

    #page-container { overflow:hidden; }

    That seemed to fix it. However, using a tablet view (ipad/nook) you can scroll to the right for the entire site. The content extends as far as the right menu now, but we shouldn't be able to scroll left or right on the entire site. I checked a few of our other sites and they don't seem to have this issue.

    https://computer-discounts.northeastern.edu/

    Any thoughts?
     
    1. PRO MEMBER PERKS Divi Ultimate Blog Plugin - Easily set awesome default design for your Divi single blog page:Learn More
  2. chris r

    chris r Member

    Attached a screenshot of the right side of the browser for the original issue where the menu extended further right than the content.
     

    Attached Files:

  3. chris r

    chris r Member

    FYI, this is a known issue on tablets that will ignore the overflow:hidden property on the html or body tags. An inner wrapper must be created:

    Code:
    Log In or Sign Up to view this code.
    Then set its properties as following:

    Code:
    Log In or Sign Up to view this code.
     
    1. PRO MEMBER PERKS Divi Ultimate Child Theme - Tons of premade layouts & section designs + functionalities for your Divi site:Learn More