/sticky-pagination-fixer

Does your site have a sticky header? You should use this script to fix keyboard-based pagination events.

Primary LanguageHTML

The Sticky Pagination Fixer Has Been Archived

Why?

It uses javascript to do a job that can now be handled purely through CSS.

How?

Like this:

html {
	scroll-padding-top: foo; /* set this to a value that matches the height of your sticky header */
}

This is supported by all modern browsers, with the exception of IE11, which (at the time of this writing) is about to hit its end of life,