I'm just not able to scroll down on my website:

Btw... This is not a real hack...

Dani AI

Generated

Good call by and — the problem is a rule at the root of the page that’s preventing normal scrolling. The immediate fix is to remove or scope that global "no-scroll" rule, but it's worth a short checklist to find the true source (CSS vs. JS) and to make the fix safe.

Try these quick diagnostic steps in DevTools:

  • Inspect the html and body elements and check the Computed styles for overflow, height and position. Uncheck suspected rules to see if the scrollbar returns.
  • Use the global source/search (Ctrl+Shift+F) to look for styles or scripts touching overflow or body.style.
  • Run this snippet in the console to locate elements whose computed overflow hides scrollbars:
Array.from(document.querySelectorAll('*')).filter(el => {
  const s = getComputedStyle(el);
  return s.overflow === 'hidden' || s.overflowY === 'hidden' || s.overflowX === 'hidden';
});
  • Check for inline styles added at runtime: document.body.style.overflow and for scripts that disable touch/drag events (look for preventDefault on touchmove/wheel).

Fixes and best practices:

  • Avoid a global scroll lock on html/body. If a lock is needed for a modal/overlay, scope it to a class applied only while the overlay is open (for example, body.modal-open { overflow: hidden; }) and ensure the class is removed when the overlay closes.
  • If a script is setting the lock, track which script is doing it (search sources) and change it so the lock is toggled, not permanent.

Security note: flagged an unknown third-party script on the page. Treat unknown remote scripts as suspicious: remove them, audit server and theme/plugin files, grep for unexpected hosts, rotate credentials, and run a server-side malware scan. After cleaning up CSS/JS and removing unknown scripts, test in an incognito window and on multiple devices to confirm scrolling is restored.

Recommended Answers

All 4 Replies

Remove overflow hidden for the body.

I don't have overflow on there :/ I do have a couple of css files tho.

pritaeas is right. Check your rule for body on line 5 of style.css. You have overflow:hidden; as the last property-value pair. Removing that fixes the scrollbar issue.

Just as an FYI, trendmicro reports one of your javascript sources as dangerous...http changed to hXXp just in case this isnt yours and it is embded somehow...

<script type="text/javascript" src="hXXp://fileice.net/gateway/mygate.php?id=414f546e48424f5a6c305a7642513d3d"></script>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.