Title: Gredich Smooth Scroll
Author: Gredich
Published: <strong>15 Tháng 7, 2026</strong>
Last modified: 15 Tháng 7, 2026

---

Tìm kiếm plugin

![](https://ps.w.org/gredich-smooth-scroll/assets/icon-256x256.png?rev=3609283)

# Gredich Smooth Scroll

 Bởi [Gredich](https://profiles.wordpress.org/gredich/)

[Tải về](https://downloads.wordpress.org/plugin/gredich-smooth-scroll.1.0.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/gredich-smooth-scroll/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/gredich-smooth-scroll/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/gredich-smooth-scroll/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/gredich-smooth-scroll/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/gredich-smooth-scroll/)

## Mô tả

Adds Lenis library for smooth scrolling with a full settings page — no coding required.
Unlike headless wrappers, it includes:

Features:
 * GSAP/ScrollTrigger integration * Smooth anchor links with configurable
offset * Automatic nested scroll detection * Exclude specific elements by ID or 
class * Support for both vertical and horizontal scrolling * Touch device support
with adjustable sensitivity * Easy-to-use settings page

### Development

Build assets (JS, CSS) are copied from the `lenis` npm package.
 Source code and
full development repository available at: – Lenis library: https://github.com/darkroomengineering/
lenis

## Cài đặt

 1. Upload the `gredich-smooth-scroll` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to Settings > Gredich Smooth Scroll to configure the plugin

## Hỏi đáp

### How do I exclude an element from smooth scrolling?

There are two ways:

 1. **Using data attributes (recommended):** Add `data-lenis-prevent` attribute to 
    any HTML element you want to exclude. For finer control, use:

 Attribute
 Description

 `data-lenis-prevent`
 Prevent all smooth scroll events

 `data-lenis-prevent-wheel`
 Prevent wheel events only

 `data-lenis-prevent-touch`
 Prevent touch events only

 `data-lenis-prevent-vertical`
 Prevent vertical scroll events only

 `data-lenis-prevent-horizontal`
 Prevent horizontal scroll events only

 1. **Using the settings page:** Go to Settings > Gredich Smooth Scroll and add the
    element’s ID or class to the exclusion list.

### What is the difference between ID and class selectors?

 * ID selectors start with `#` (e.g., `#my-element`)
 * Class selectors start with `.` (e.g., `.my-class`)

### Can I use both methods together?

Yes! You can combine data attributes with ID/class exclusions.

### How does the plugin handle nested scroll elements?

By default, the plugin automatically detects nested scrollable elements and lets
them scroll natively. You can control this behavior from **Settings > Gredich Smooth
Scroll** using the “Allow Nested Scroll” option.

 * **Enabled (default):** Lenis detects nested scroll containers automatically. 
   Best for most sites.
 * **Disabled:** Disable only if you experience performance issues and prefer to
   manually exclude elements using the data attributes or exclusion list above.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Gredich Smooth Scroll” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Gredich ](https://profiles.wordpress.org/gredich/)
 *   [ Diego ](https://profiles.wordpress.org/diarpu/)

[Dịch “Gredich Smooth Scroll” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/gredich-smooth-scroll)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/gredich-smooth-scroll/),
check out [SVN repository](https://plugins.svn.wordpress.org/gredich-smooth-scroll/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/gredich-smooth-scroll/)
qua [RSS](https://plugins.trac.wordpress.org/log/gredich-smooth-scroll/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.0.0

 * Initial release

## Meta

 *  Phiên bản **1.0.0**
 *  Cập nhật lần cuối **3 tuần trước**
 *  Số lượt cài đặt **Ít hơn 10**
 *  Phiên bản WordPress ** 5.8 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.0.2**
 *  Phiên bản PHP ** 7.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/gredich-smooth-scroll/)
 * Thẻ
 * [lenis](https://vi.wordpress.org/plugins/tags/lenis/)[scroll](https://vi.wordpress.org/plugins/tags/scroll/)
   [scrolling](https://vi.wordpress.org/plugins/tags/scrolling/)[smooth](https://vi.wordpress.org/plugins/tags/smooth/)
   [smooth scroll](https://vi.wordpress.org/plugins/tags/smooth-scroll/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/gredich-smooth-scroll/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

[Your review](https://wordpress.org/support/plugin/gredich-smooth-scroll/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/gredich-smooth-scroll/reviews/)

## Những người đóng góp

 *   [ Gredich ](https://profiles.wordpress.org/gredich/)
 *   [ Diego ](https://profiles.wordpress.org/diarpu/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/gredich-smooth-scroll/)