Deskripzioa
This plugin removes the visible scrollbar from your website across all major browsers (Chrome, Firefox, Safari, Edge) using clean CSS techniques. It ensures that users can still scroll through the content without seeing the scrollbar, providing a modern and seamless browsing experience.
Features:
* Visually hides the vertical and horizontal scrollbars.
* Keeps smooth scrolling via mouse wheel, keyboard, and touch fully functional.
* Lightweight with zero performance overhead (pure inline CSS injection).
* Compatible with modern page builders and responsive modal popups.
* Developer-friendly filter hook (hide_scrollbar_force_enabled) for conditional loading.
Instalazioa
- Upload the
hide-scrollbar-forcefolder to the/wp-content/plugins/directory, or install it directly via the WordPress Plugin Directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- The scrollbar is now hidden automatically with no configuration needed.
MEG
-
Does this plugin affect scrolling functionality?
-
No, it only hides the scrollbar visually. Users can still scroll smoothly using mouse wheels, trackpads, touch gestures, or keyboard arrow keys.
-
Will it break modal windows or internal scrollable boxes?
-
No, version 1.4+ scopes rules strictly to the page viewport (
html, body) and avoids breaking internal scrollable containers (like code blocks, tables, or modals). -
Can I disable the plugin on specific pages?
-
Yes, developers can use the
hide_scrollbar_force_enabledfilter in their theme’sfunctions.phpfile. For example:
add_filter( ‘hide_scrollbar_force_enabled’, function( $enabled ) { return ! is_page( ‘contact’ ); } );
Laguntzaileak eta Garatzaileak
“Hide Scrollbar Force” software librea da. Ondoko pertsonek egin dizkiote ekarpenak plugin honi.
LaguntzaileakItzul zaitez Hide Scrollbar Force zure hizkuntzara.
Garapena interesatzen zaizu?
Araka kodea, begiratu SVN biltegia edo harpidetu garapen erregistrora RSS bidez.
Aldaketen loga
1.4.1
- Fixed Text Domain header to match the official plugin slug (
hide-scrollbar-force). - Added
hide_scrollbar_force_enabledfilter hook for conditional control. - Minified inline CSS output and added
function_existscheck to prevent naming collisions.
1.4
- Tested and confirmed compatibility with WordPress 7.1.2.
- Added direct access security check (
ABSPATH). - Removed universal selector conflicts to preserve modal and internal container scrolling.
- Removed redundant closing PHP tag according to WordPress coding standards.
1.3
- Switched to wp_enqueue_style and wp_add_inline_style for WordPress standards compliance.
- Updated license to GPLv2 or later.
1.2
- Improved browser compatibility with forced CSS rules.
- Added higher priority to styles to prevent theme conflicts.
1.1
- Added wrapper technique for better content handling.
1.0
- Initial release.