Title: Hash Link Scroll Offset
Author: webdevstudios
Published: <strong>2014(&#101;)k&#111; uztaila&#114;&#101;&#110; 21(&#97;)</strong>
Last modified: 2026(&#101;)k&#111; urtarrila&#114;&#101;&#110; 7(&#97;)

---

Bilatu pluginak

![](https://ps.w.org/hash-link-scroll-offset/assets/banner-772x250.png?rev=2744401)

![](https://ps.w.org/hash-link-scroll-offset/assets/icon-256x256.png?rev=2744401)

# Hash Link Scroll Offset

 [webdevstudios](https://profiles.wordpress.org/webdevstudios/)-(r)en eskutik

[Deskargatu](https://downloads.wordpress.org/plugin/hash-link-scroll-offset.0.4.1.zip)

 * [Xehetasunak](https://eu.wordpress.org/plugins/hash-link-scroll-offset/#description)
 * [Berrikuspenak](https://eu.wordpress.org/plugins/hash-link-scroll-offset/#reviews)
 *  [Instalazioa](https://eu.wordpress.org/plugins/hash-link-scroll-offset/#installation)
 * [Garapena](https://eu.wordpress.org/plugins/hash-link-scroll-offset/#developers)

 [Laguntza](https://wordpress.org/support/plugin/hash-link-scroll-offset/)

## Deskripzioa

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](https://pluginize.com/?utm_source=hash-link-scroll&utm_medium=text&utm_campaign=wporg)
was launched in 2016 by [WebDevStudios](https://webdevstudios.com/) to promote, 
support, and house all of their [WordPress products](https://pluginize.com/shop/?utm_source=hash-link-scroll&utm_medium=text&utm_campaign=wporg).
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](https://wordpress.org/plugins/custom-post-type-ui/),
[CMB2](https://wordpress.org/plugins/cmb2/), and more.

## Instalazioa

#### Manual Installation

 1. Upload the entire `/hash-link-scroll-offset` directory to the `/wp-content/plugins/`
    directory.
 2. Activate Hash Link Scroll Offset through the ‘Plugins’ menu in WordPress.
 3. Update the “Hash Link Scroll Offset” setting on the general settings page, **http://
    YOURSITE.COM/wp-admin/options-general.php**.

## Berrikuspenak

![](https://secure.gravatar.com/avatar/9f51957cc23da4e52ab228cdf5f40e4657cb2d9869877ee43cc3cac77804dfcb?
s=60&d=retro&r=g)

### 󠀁[Thank you very much!](https://wordpress.org/support/topic/thank-you-very-much-143/)󠁿

 [zielniok](https://profiles.wordpress.org/zielniok/) 2025(e)ko martxoaren 19(a)

Does exactly what it is supposed to too. Not less, not more. Perfect.

![](https://secure.gravatar.com/avatar/2ed0ca54c775dfce378c9c0bb1feb8d1b01305faba180968c99f8cb5b8f16234?
s=60&d=retro&r=g)

### 󠀁[Doesn’t work](https://wordpress.org/support/topic/doesnt-work-3180/)󠁿

 [valentabc](https://profiles.wordpress.org/valentabc/) 2025(e)ko urtarrilaren 9(
a) 1 reply

Nothing happens with the offset activated, links behave the same.

![](https://secure.gravatar.com/avatar/eeb68938b0c80d7ff793a8f57143be2391e7db6d463338603696accd430aac22?
s=60&d=retro&r=g)

### 󠀁[Great wee plug-in – does the job on 6.0.3.](https://wordpress.org/support/topic/great-wee-plug-in-does-the-job/)󠁿

 [thenightstudio](https://profiles.wordpress.org/thenightstudio/) 2022(e)ko urriaren
29(a)

Tested and working on version 6.0.3. Simple, efficient and no annoying nags or ads.
Thank you for this clean little solution.

![](https://secure.gravatar.com/avatar/45e9c141089feaea3a2f87d51823e8cddc7d58783ee6c9607150687246baa4be?
s=60&d=retro&r=g)

### 󠀁[Still works](https://wordpress.org/support/topic/still-works-200/)󠁿

 [poletaew](https://profiles.wordpress.org/poletaew/) 2022(e)ko urtarrilaren 25(
a)

That’s awesome, it’s still works!

![](https://secure.gravatar.com/avatar/9aabb510f88e635782975e49e8657a6e69142335174cf51e8b2cf902e9db7fc3?
s=60&d=retro&r=g)

### 󠀁[Enfold fixed-header solution without affecting theme files.](https://wordpress.org/support/topic/enfold-fixed-header-solution-without-affecting-theme-files/)󠁿

 [James Frazier](https://profiles.wordpress.org/jamesfrazier81/) 2019(e)ko irailaren
10(a)

This plugin is fantastic! So simple and effective (from this end, anyway). After
hours of fighting Enfold’s CSS and JS in my child theme, this plugin just fixed 
my fixed-positioned header overlap issue with one simple setting. Thank you!

![](https://secure.gravatar.com/avatar/c1aee8814945fadf9c63b6cfb8d5d0c76a22488ba7181342f3813efb47a89c35?
s=60&d=retro&r=g)

### 󠀁[Works ok, but…](https://wordpress.org/support/topic/works-ok-but-7/)󠁿

 [Pedro Magnifico](https://profiles.wordpress.org/pedro-magnifico/) 2018(e)ko uztailaren
10(a) 3 replies

Doesn’t play nice with my site’s back to top button. Click on an anchor link and
the page scrolls to the anchor with the correct offset. BUT click back to top and
the page only scrolls a little bit. Maybe by the amount of the offset, I’m not sure.
But it looked to be about that distance.

 [ Irakurri 15 berrikuspenak ](https://wordpress.org/support/plugin/hash-link-scroll-offset/reviews/)

## Laguntzaileak eta Garatzaileak

“Hash Link Scroll Offset” software librea da. Ondoko pertsonek egin dizkiote ekarpenak
plugin honi.

Laguntzaileak

 *   [ webdevstudios ](https://profiles.wordpress.org/webdevstudios/)
 *   [ pluginize ](https://profiles.wordpress.org/pluginize/)

[Itzul zaitez Hash Link Scroll Offset zure hizkuntzara.](https://translate.wordpress.org/projects/wp-plugins/hash-link-scroll-offset)

### Garapena interesatzen zaizu?

[Araka kodea](https://plugins.trac.wordpress.org/browser/hash-link-scroll-offset/),
begiratu [SVN biltegia](https://plugins.svn.wordpress.org/hash-link-scroll-offset/)
edo harpidetu [garapen erregistrora](https://plugins.trac.wordpress.org/log/hash-link-scroll-offset/)
[RSS](https://plugins.trac.wordpress.org/log/hash-link-scroll-offset/?limit=100&mode=stop_on_copy&format=rss)
bidez.

## Aldaketen loga

#### 0.4.1

 * Updated: Build process changes for compiled assets.
 * Updated: Confirmed compatibility with WordPress 6.9.

#### 0.4.0

 * Fixed: issues with window scrollY offsets

#### 0.3.2

 * Fixed: textdomain loading timing.
 * Updated: Confirmed compatibility with WordPress 6.8

#### 0.3.1

 * Fixed: instant jumps instead of smooth scroll from previous jQuery conversion.

#### 0.3.0

 * Updated: Removed jQuery dependency in our javascript
 * Updated: Escaping and sanitizing of output.

#### 0.2.2

 * Confirmed compatibility with WordPress 6.4

#### 0.2.1

 * Confirmed compatibility with WordPress 6.3

#### 0.2.0

 * Misc changes
 * Tested up to WordPress 5.9 *

#### 0.1.8

 * Adjust JS to account for relative urls.
 * Add checks for evt and event.preventDefault existing.

#### 0.1.7

 * Refactor JS to be more extensible, and adjust auto-scrolling (when hash exists
   in URL) to be more intelligent.

#### 0.1.6

 * `'hash_link_scroll_offset.scroll_to'` jQuery event fired befor scrolling is initated.
   Also introduce useful properties, `scrollTo`, `initialScroll`, and `isScrolling`;

#### 0.1.5

 * `'hash_link_scroll_offset.complete'` jQuery event fired when scrolling complete.

#### 0.1.4

 * Fix “Cannot use a scalar value as an array” debug warning. ([Relevant Trac ticket](https://core.trac.wordpress.org/ticket/29722#comment:8))

#### 0.1.3

 * Prevent browser windows from moving/blinking on initial click of anchor link.
   Props [@ImBigWill](https://github.com/WebDevStudios/Hash-Link-Scroll-Offset/pull/9).

#### 0.1.2

 * Automatically compensate for admin bar. Props [@salcode](https://github.com/WebDevStudios/Hash-Link-Scroll-Offset/pull/5).

#### 0.1.1

 * Add `no-scroll` class exception. Props [@billerickson](https://github.com/billerickson)

#### 0.1.0

 * First release

## Meta

 *  Version **0.4.1**
 *  Azken eguneraketa **duela 4 hilabete**
 *  Instalazio aktiboak **1.000+**
 *  WordPress bertsioa ** 5.5 edo handiagoa **
 *  **6.9.4** (e)raino probatuta.
 *  Language
 * [English (US)](https://wordpress.org/plugins/hash-link-scroll-offset/)
 *  [Ikuspegi aurreratua](https://eu.wordpress.org/plugins/hash-link-scroll-offset/advanced/)

## Balorazioak

 4.7 out of 5 stars.

 *  [  14 5-star reviews     ](https://wordpress.org/support/plugin/hash-link-scroll-offset/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/hash-link-scroll-offset/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/hash-link-scroll-offset/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/hash-link-scroll-offset/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/hash-link-scroll-offset/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/hash-link-scroll-offset/reviews/)

## Laguntzaileak

 *   [ webdevstudios ](https://profiles.wordpress.org/webdevstudios/)
 *   [ pluginize ](https://profiles.wordpress.org/pluginize/)

## Laguntza

Zerbait duzu esateko? Laguntza behar?

 [Ikusi laguntza foroa](https://wordpress.org/support/plugin/hash-link-scroll-offset/)

## Egizu eskaintza

Plugin honen aurrerabidearen euskarri izan nahi duzu?

 [ Egiozu eskaintza plugin honi ](http://webdevstudios.com)