Skip to content
Sign in

Scrollbar

Style your site's scrollbar with a lightweight native CSS mode, live preview, dark mode, scroll boxes, a progress bar and a back-to-top button.

Not scanned yet WordPress plugin 300 installs

Install in

No install steps yet

Follow the steps on the source page.

Scrollbar lets you restyle the scrollbar on your whole site and see the result live while you edit. Pick a preset, adjust the colors and shape, and save.

Two engines

  • Native CSS (default for new installs). Pure CSS. No JavaScript, no extra library, and visitors keep normal keyboard, touch and screen reader scrolling.
  • Advanced (jQuery). Smooth scrolling, auto-hide, left or right rail and an optional horizontal bar, powered by nicescroll 3.7.6.

Features

  • Live preview with light and dark views on the settings page.
  • 8 ready-made presets.
  • Thumb color, hover color, track color, opacity, width, corner radius, border width, style and color.
  • Dark mode colors that follow the visitor’s color scheme.
  • Hide on small screens, skip chosen posts or pages, skip chosen user roles.
  • Style extra scrollable areas with your own CSS selectors.
  • Scroll Box block and [scrollbar] shortcode for fixed-height scrolling content.
  • Optional reading progress bar and back-to-top button.
  • Respects the visitor’s “reduce motion” setting in Advanced mode.
  • Import, export and reset your settings.
  • Settings screen loads its assets only on its own page.

Browser note

Full styling (width, corners, borders) works in Chrome, Edge, Safari and other WebKit/Blink browsers. Firefox supports a thumb color, track color and thin or regular width through its own scrollbar properties. The Advanced engine draws its own scrollbar and looks the same in all browsers.

Written by Joobi from the project's own listing. See the source page

back to topcustom scrollbardark modescrollscrollbar
23 Nov 2026
Version 3.0.0 released. Not scanned yet.

3.0.0

  • New: Native CSS engine with no JavaScript or jQuery, now the default for new installs. Existing sites stay on the Advanced engine.
  • New: Redesigned settings page with tabs, live light/dark preview and 8 presets.
  • New: Track color, hover color, opacity, border color and border style.
  • New: Dark mode colors.
  • New: Left or right scrollbar, horizontal bar and z-index controls (Advanced engine).
  • New: Hide on small screens, skip posts, pages and user roles, and style extra CSS selectors.
  • New: Scroll Box block and [scrollbar] shortcode.
  • New: Reading progress bar and back-to-top button.
  • New: Import, export and reset.
  • New: Settings link on the Plugins screen and the scrollbar_wp_should_load filter.
  • Improved: All options are stored in one validated settings array and saved through the WordPress Settings API.
  • Improved: Values are range-checked and invalid colors fall back to defaults.
  • Improved: Frontend script is loaded in the footer with the correct nicescroll version and an inline config added through wp_add_inline_script.
  • Improved: Admin scripts and styles load only on the Scrollbar settings page.
  • Improved: Advanced engine respects the visitor’s reduced-motion preference.
  • Fixed: Settings screen defaults now match what visitors see on the site.
  • Fixed: PHP syntax that caused a fatal error on PHP older than 7.3.
  • Fixed: Missing uninstall cleanup. Options are now removed when the plugin is deleted.
  • Removed: The red “Donate!” link in the Plugins list and the empty color-picker script.

2.0.9

  • Security Enhancement: Implemented rigorous nonce verification (wp_nonce_field and wp_verify_nonce) across the settings form to fully protect against CSRF vulnerabilities.
  • WordPress Coding Standards: Added strict sanitization callbacks (sanitize_hex_color, absint, and custom boolean validation) to all register_setting() calls, resolving all Plugin Check validation errors.
  • Asset Loading Optimization: Refactored admin script and style enqueuing to load the WordPress color picker strictly on the plugin’s dedicated settings page (admin_enqueue_scripts), preventing global script conflicts.
  • Form & Capability Hardening: Added explicit capability checks (current_user_can('manage_options')) and robust handling for $_POST array indices to prevent undefined notices and secure data processing.
  • UI Refinements: Streamlined markup in the admin options template and updated the JavaScript initialization to ensure secure attribute escaping and reliable rendering.

2.0.8

  • Update Option page.
  • Update CSS.

2.0.7

  • Fix color picker issue.

2.0.6

  • Update Options Page.

2.0.5

  • Fix color picker issues.

2.0.4

  • Check Compatibility issues.
  • Fix input field Sanitization Issue.

2.0.3

  • Check Compatibility issues.
  • Update Option page.

2.0.2

  • Update Option page.
  • Update CSS.

2.0.1

  • Check Compatibility issues.
  • Fix Security Issue.

2.0

  • Update Option page Layout.
  • Update Readme file.
  • Fix Security Issue.
  • Fix Auto Hide Mode Issue.

1.9

  • Update Option page.
  • Update CSS.

1.8

  • Update Option page.
  • Update Language File.
  • Fix console Error.
  • Update CSS.

1.7

  • Update Option page.
  • Added Default Value.

1.6

  • Update Option page.
  • Added Default Value.

1.5

  • update Option page.

1.4

  • update Option page.
  • Fix Color issues.

1.3

  • update Option page.
  • Fix color issues.

1.2

  • update Option page.
  • Fix color issues.

1.1

  • update Option page
  • added auto hide mode option
  • fix language issues

1.0

  • Initial release.
  • Support latest WordPress version.
20 Feb 2015Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)