=== AddonLogic Sticky Header on Scroll ===
Contributors: snehalpancholi
Tags: sticky header, fixed header, scroll, navigation, header
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
Stable tag: 1.0.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Makes any header element sticky after the user scrolls past a configurable threshold — no theme editing required.

== Description ==

AddonLogic Sticky Header on Scroll lets you turn any header element into a sticky fixed header with a configurable scroll threshold, shrink effect, box shadow, and background colour override — all from a simple settings page, no code changes needed.

**Features:**
* Target any element via CSS selector
* Configurable scroll threshold before sticking
* Optional shrink effect (reduces padding when sticky)
* Optional drop shadow when sticky
* Optional background colour override
* Configurable transition speed and z-index
* Placeholder div prevents layout jump
* requestAnimationFrame-throttled scroll listener for smooth 60fps performance
* Zero jQuery dependency

== Installation ==

1. Upload the `sticky-header-on-scroll` folder to `/wp-content/plugins/`.
2. Activate through **Plugins** in WordPress admin.
3. Go to **Settings → Sticky Header** and configure your selector and options.

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
