Magento Expert Forum - Improve your Magento experience

Results 1 to 4 of 4

How do you eliminate the horizontal scrollbar

  1. #1

  2. #2
    Junior Member
    Join Date
    Feb 2018
    Posts
    113
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    Don't forget to write overflow-x:hidden;

    code should be

    overflow-y: scroll; overflow-x:hidden;


    Book Public Notice Ad in Newspaper | Team Building Activities in Office
    Last edited by trzy; 20-05-2019 at 05:01 AM.

  3. #3
    Junior Member petershene's Avatar
    Join Date
    Aug 2017
    Location
    South Africa
    Posts
    91
    Thanks
    2
    Thanked 3 Times in 3 Posts

    Default

    Yea i may caution you on using this css as it essentially will Hide whatever it overflowing form yhe div. If its a background image on your website thats all good but if its something important it may cut it out too. In the second case it would be more suited to set the div that is overflowing to never go beyond the height and width property of its parent div.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •