
# Kadence Section Highlighter

Universal scrollspy/highlight plugin for WordPress.

## Features

- Kadence compatible
- Gutenberg compatible
- Sticky menu compatible
- Works with duplicated menus
- Works with hardcoded menus
- Supports anchor scrolling
- Universal section detection
- Gutenberg wrapper safe

## Usage

Add:

<div class="hw-scrollspy-scope">

Inside that wrapper use links like:

<a href="#my-section">

and matching sections:

<section id="my-section">

The plugin automatically highlights active menu items while scrolling.

## Optional Classes

- hw-scrollspy-scope
- hw-scrollspy-source
- hw-scrollspy-target

## Active Classes

- active
- hw-scrollspy-active
- current-menu-item


== Changelog ==

= 1.2.1 =
* Removed plugin manipulation of WordPress current-menu-item class.
* Active scroll state now uses only active and hw-scrollspy-active.
* Target detection is limited to IDs that are actually referenced by current-page anchor links.
* Improved sticky offset calculation and duplicate menu synchronization.
