Linux 软件免费装
Banner图

Custom Content Scrollbar

开发者 SoftHopper
更新时间 2026年11月7日 23:16
PHP版本: 7.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

block scroll scrollbar custom scrollbar content scrollbar

下载

1.2 1.4.0

详情介绍:

Custom Content Scrollbar styles the main page scrollbar and lets you create scrollable areas anywhere: with the "Custom Scrollbar" block, a shortcode, or a CSS selector. Choose between two engines: Scripts load only on pages that use a scrollbar, and nothing is loaded from third-party servers. Click here to see a live demo Features include: Free and Pro Everything listed above is free, and it stays free. Nothing in the free version will be locked. Custom Content Scrollbar Pro is an add-on that works on top of the free plugin. It includes: Coming next in Pro: scrollbar controls for Bricks, Divi, WPBakery, Beaver Builder and Oxygen. See the full comparison under Scrollbar > Free vs Pro. Get Pro under Scrollbar > Add-Ons.

安装:

Installation
  1. Upload the custom-content-scrollbar folder to the /wp-content/plugins/ directory
  2. Activate the Custom Content Scrollbar plugin through the 'Plugins' menu in WordPress
  3. Open the new Scrollbar menu (or click "Settings" on the Plugins screen) to style the main scrollbar.
  4. Add the "Custom Scrollbar" block or the shortcode to any post or page.

屏幕截图:

  • Main Scrollbar: Native CSS (no JavaScript) or niceScroll, colors, presets and a live preview.
  • Scroll Areas: themes, behavior and colors for scroll areas, with a live preview of both engines.
  • The Custom Scrollbar block: any blocks inside a scrollable area, set up in the block sidebar.
  • Per-page settings: customize or turn off the main scrollbar for one page, or add page-only scroll areas.
  • Ready-made presets, for the main scrollbar or scroll areas in one click.
  • Optional cursor and click effects, with a preview to try them.
  • Full page scrollbar demo
  • Content scrollbar demo
  • All customizable scrollbar showing in demo by tab
  • Custom color scrollbar
  • Autohide scrollbar demo
  • Vertical & horizontal scrollbar demo
  • Nested scrollbar demo
  • Scrollbar position selected by custom
  • Scrollbar RTL demo
  • Scrollbar demo with arrow
  • Scrollbar demo without arrow
  • Scrollbar Position Inside
  • Scrollbar Position Outside

升级注意事项:

1.4.0 Security hardening, a new block, and a no-JavaScript native mode. Scripts now load in the footer only where needed.

常见问题:

Where can I find Custom Content Scrollbar documentation?

Go to Scrollbar > Help. It explains every settings screen and has a quick reference for the shortcode, the ccs-scroll class and the JavaScript function. The Usage section above covers the same topics.

Is there a Pro version?

Yes. Custom Content Scrollbar Pro is an add-on that needs this free plugin. It adds smooth scrolling, display conditions, a preset library, horizontal scrolling, a WooCommerce pack, a reading progress bar and back-to-top button, more effects, and white label. All free features stay free. Get it under Scrollbar > Add-Ons; Scrollbar > Free vs Pro has the full list.

Where can I report bugs or contribute to the project?

You can open issues via Support page.

Will Custom Content Scrollbar work with my theme?

Yes; Custom Content Scrollbar will work with any theme.

Does it work with my page builder?

Yes. The ccs-scroll class works in every builder that lets you add a CSS class (Elementor, Divi, Bricks, Beaver Builder, WPBakery, Oxygen, Breakdance, Kadence, Spectra and others). The per-page settings are on the normal WordPress edit screen of every page. Elementor also has its own Scrollbar controls.

Does it work with the block editor (Gutenberg)?

Yes. Use the "Custom Scrollbar" block. It needs WordPress 5.5 or later. The shortcode works in the Classic Editor and in the Shortcode block on any supported version.

Should I use mCustomScrollbar or Native CSS?

Use Native CSS when you want the fastest page and only need custom colors and sizes. Use mCustomScrollbar when you need themes, arrow buttons, auto hide, scroll-to or snapping.

Will it slow down my site?

Scripts load only on pages that have a scrollbar, and they load in the footer. In Native CSS mode no JavaScript is loaded at all.

Why is the admin bar hidden on my site?

Older versions hid the admin bar on the front end by default, and sites upgrading keep that setting. Turn it back on under Scrollbar > Tools. New installs show the admin bar.

Can I start a scrollbar on content that loads later?

Yes. After adding content with AJAX (popups, quick views, infinite scroll), call CustomContentScrollbar.init( element ). Each scroll area that starts fires a ccs:init event.

How do I move my settings to another site?

Go to Scrollbar > Tools. Download or copy the export, then import it on the other site.

Is it accessible?

Scroll areas can be reached and scrolled with the keyboard, the label option gives them a name for screen readers, and smooth scrolling is turned off for visitors who prefer reduced motion. The block warns you when the bar and rail colors have low contrast.

更新日志:

1.4.0