Answers for "how to remove horizontal scroll on elementor"

1

elementor remove horizontal scroll

// Remove horizontal scroll on mobile devices
html,body {
	overflow-x: hidden
}
Posted by: Guest on August-06-2021
0

how to remove horizontal scroll on elementor

(function (debug) {
    var w = debug.documentElement.offsetWidth,
        t = debug.createTreeWalker(debug.body, NodeFilter.SHOW_ELEMENT),
        b;
    while (t.nextNode()) {
        b = t.currentNode.getBoundingClientRect();
        if (b.right > w || b.left < 0) {
            t.currentNode.style.setProperty('outline', '1px dotted red', 'important');
            console.log(t.currentNode);
        }
    };
}(document));
Posted by: Guest on July-22-2020

Code answers related to "how to remove horizontal scroll on elementor"

Code answers related to "Javascript"

Browse Popular Code Answers by Language