Case Studies · real client work
In January 2026 a website owner contacted me with a problem that was driving him crazy. His Elementor website had been working perfectly until about a month earlier. Then, without any obvious reason, it stopped scrolling on Samsung phones. He tested on several Android devices, including two Samsung models and a Xiaomi phone, in both Chrome and Samsung Internet, and the result was the same. He had not updated any plugins or changed anything; the first changes he made were attempts to fix the problem after it appeared. The site also contained a lot of custom code and custom CSS, written in a language I do not read. This case study explains how we found the root cause and fixed both the scrolling and the hamburger menu.
- Client: a website owner with a single-page Elementor site and extensive custom code
- Platform: WordPress, Elementor, custom CSS and scripts, Cloudflare
- Work: backup confirmation, investigation across devices and browsers, Cloudflare cache purge, root cause analysis, fixes for scrolling and the mobile menu
- Timeline: January 2026, about four days
- Result: smooth scrolling and a working hamburger menu on Android phones
The symptom
The site was a clean single-page layout with sticky navigation and smooth scroll effects. On desktop it worked fine. On Android phones, visitors could not scroll at all, which effectively made the website unusable on mobile, where most of its visitors would arrive.
The owner had already done useful testing: several phone models, two browsers, same result. That ruled out a single device quirk and pointed to something in the site itself interacting with how Android browsers handle scrolling.
Backup first
Before touching anything, I asked the owner to confirm a recent backup. When a site contains a lot of custom code, every change carries some risk, and a backup means any experiment can be reversed. Once he confirmed, I started investigating.
Understanding the custom code
The site had a lot of custom code added over time, and parts of it used language and naming I could not read easily. I asked for a short call so he could explain what had been added and why, which would speed up the search. He was away from his computer, so we arranged it for the next day, and in the meantime I recorded my investigation so he could see what I was doing.
I also asked a targeted question: had he added a cookie consent banner or a pop-up around the time the problem started? Overlays like these commonly lock scrolling while open and sometimes fail to release it. He confirmed he had not touched the site since it was built; the first changes he made came after he noticed the problem.
Why sites stop scrolling on mobile
When a page will not scroll on phones but works on desktop, the cause is usually one of these:
- A scroll lock that never releases. Menus, pop-ups and banners often set overflow hidden on the page body while open. If the script that removes it fails, the page stays frozen.
- Smooth-scroll scripts. Custom smooth-scroll code can intercept touch events and break native scrolling on some browsers.
- Full-height containers. Elements set to 100vh with overflow hidden can trap scrolling inside a box.
- Touch event handlers. Code that prevents default touch behaviour stops the browser from scrolling.
- Browser updates. A change in how mobile browsers handle scrolling can expose a weakness in old custom code, which explains how a site can break without anyone touching it.
That last point is important. The owner was right that he had changed nothing. But browsers update constantly, and custom code that relied on older behaviour can suddenly stop working.
The Cloudflare complication
As I tested changes, I noticed something frustrating: my edits barely seemed to have any effect. The site sat behind Cloudflare, which was caching static files. When you are debugging scripts and CSS, a CDN serving old copies makes it impossible to tell whether a fix worked. I asked for access to the Cloudflare dashboard, purged all cached files and could finally see my changes in real time. Without that step, I might have discarded a correct fix because it appeared not to work.
Finding the culprit
With caching out of the way, I worked through the custom code methodically, disabling sections and testing on Android after each change. Eventually I found the piece of code that was interfering with native scrolling on mobile browsers, along with a related problem affecting the hamburger menu. I fixed both so that scrolling worked naturally and the menu opened and closed properly, releasing the page each time.
Because the cause involved how the custom code and the browser interacted, I asked the owner for a short meeting to explain what I had found. When someone has written or commissioned a lot of custom code, understanding why something broke helps them avoid the same problem in future changes.
“He didn’t just offer a quick fix; he took the time to deeply investigate the root cause of the problem and troubleshoot it thoroughly.”
Website owner, January 2026
Lessons for sites with lots of custom code
- Keep a record of custom code. What each snippet does, where it lives and when it was added.
- Prefer built-in features. Elementor’s own sticky and scroll features are tested across browsers; custom scripts may not be.
- Test on Android, not just iPhone. Samsung Internet and Chrome on Android behave differently from Safari.
- Purge caches while debugging. Including Cloudflare.
- Check overlays. Menus, pop-ups and banners must release scroll locks.
- Retest after browser updates. A quick mobile check each month catches silent breakages.
Working across languages
The site’s content and some of its code comments were in a language I do not read fluently. That made the owner’s explanations especially valuable, and it is one reason I recorded my work so he could follow along. When working on a site in another language, clear communication becomes even more important: confirming what each section is for, asking before removing anything that looks unused and testing every part of the page after each change. Patience on both sides, which the owner showed throughout, makes this kind of investigation possible.
Is your site frozen on mobile?
If your website suddenly stopped scrolling, the menu will not close or something works on desktop but not on phones, I can trace the cause, fix it properly and explain what happened so it does not catch you out again.
How I debug a frozen page step by step
For anyone facing a similar problem, here is the process I follow. First, reproduce the issue on a real Android phone, not only an emulator, because touch handling differs. Second, connect the phone to a desktop browser’s remote debugging tools, which show the page’s console and styles exactly as the phone sees them. Look for JavaScript errors, then inspect the page body and main containers to see whether overflow is hidden or the height is locked. Third, check whether any element covers the full screen invisibly, which can swallow touches. Fourth, disable custom scripts one at a time, purging caches after each change, until scrolling returns. The last script disabled is usually the culprit, or at least points to it. Fifth, instead of simply deleting it, rewrite or replace that functionality so the feature still works without blocking scrolling. Finally, test on several devices and browsers, including iPhone, to make sure the fix does not create a new problem elsewhere.
Why single-page sites are vulnerable
One-page websites often rely heavily on scripts: sticky menus that highlight the current section, smooth scrolling to anchors, scroll-triggered animations and full-screen sections. Each feature adds code that listens to scrolling and touch events. When several of these interact, a small change in browser behaviour can tip the balance and break scrolling entirely. Using Elementor’s built-in motion effects and sticky options where possible, rather than custom scripts, reduces this risk because those features are maintained and tested by the Elementor team across browsers. Where custom code is necessary, keeping it small, documented and tested on Android after browser updates keeps a single-page site reliable.
Explaining the fix
Once everything worked, I made sure the owner understood what had happened in plain language: which code caused the freeze, why it worked before and stopped later, and what to watch out for if he adds more custom code. A fix that the owner understands is far less likely to be undone by accident months later.
That is also why I record my work during investigations like this one. The recording shows exactly what was checked and changed, so the owner, or any future developer, can follow the reasoning without having to start from scratch if a similar issue ever appears again.
Clear records save time and money later.
Root cause debugging for mobile bugs, custom code conflicts and caching problems.
Something broken on mobile? Send me a short brief.
Frequently asked questions
Why does my website not scroll on Android phones?
Often a scroll lock from a menu or pop-up, smooth-scroll scripts, full-height containers or touch handlers in custom code.
Why did my site break when I changed nothing?
Browsers update regularly. Custom code relying on older behaviour can stop working after a browser update.
Why don't my fixes show up on the live site?
A CDN like Cloudflare may serve cached files. Purge its cache after changes.
Should I back up before fixing custom code?
Always. Custom code changes are risky, and a backup lets you reverse any experiment.
Free, no sign-up, works on any device.
Guides for this tool
Guide · 8 min readFinish My Website: How to Complete a Half-Built WordPress Site Without Starting Over
Guide · 8 min readAuto Detailing Website Design: Show Off the Shine and Fill Your Booking Calendar
Guide · 8 min readMed Spa Website Design: A Premium Website That Books Consultations and Treatments
Guide · 8 min readChurch Website Design: A Welcoming Website for Visitors, Members and GivingWant a tool, website or app like this for your business?
Every free tool on this site is designed and coded by Tanvir H, a Bangladesh-based WordPress and Elementor web designer with 7+ years of experience and 650+ projects for clients worldwide. Fast, mobile-first, search-optimised websites that turn visitors into customers.
- 650+ projects
- 7+ years
- 4.9★ rating
- Govt. registered freelancer



