Hash Link Scroll Offset

plugin banner

Offset the scroll position of anchored links. Handy if you have a sticky header that covers linked material.

Author:WebDevStudios (profile at wordpress.org)
WordPress version required:5.5
WordPress version tested:6.5.0
Plugin version:0.3.0
Added to WordPress repository:21-07-2014
Last updated:12-03-2024
Rating, %:100
Rated by:13
Plugin URI:http://webdevstudios.com
Total downloads:16 108
Active installs:1 000+
plugin download
Click to start download

Often anchor links can be overachievers and can scroll a user past the section intended. This plugin attempts to change that by offering a setting that allows you to change the scroll offset when clicking anchors. It also adds a nice animated scrolling effect when clicking an anchor rather than the sudden jump that usually occurs. Even handles when visiting a hashed URL directly.

Use the no-scroll class on any hash links that are not meant to scroll to an area of the page (Navigation for sliders, etc).

Pluginize was launched in 2016 by WebDevStudios to promote, support, and house all of their WordPress products. Pluginize is not only creating new products for WordPress all the time, but also provides ongoing support and development for WordPress community favorites like CPTUI, CMB2, and more.


ChangeLog