Skip to content
This repository has been archived by the owner. It is now read-only.

murtaugh/sticky-pagination-fixer

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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,

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published