showing results for - "how to remove horizontal scroll on elementor"
Luna
07 Nov 2017
1// Remove horizontal scroll on mobile devices
2html,body {
3	overflow-x: hidden
4}
Mohamed-Amine
20 Feb 2020
1(function (debug) {
2    var w = debug.documentElement.offsetWidth,
3        t = debug.createTreeWalker(debug.body, NodeFilter.SHOW_ELEMENT),
4        b;
5    while (t.nextNode()) {
6        b = t.currentNode.getBoundingClientRect();
7        if (b.right > w || b.left < 0) {
8            t.currentNode.style.setProperty('outline', '1px dotted red', 'important');
9            console.log(t.currentNode);
10        }
11    };
12}(document));