In the Genesis Facebook group Amanda asks,
Any genesis tutorials out there for an entry pagination that appears upon scroll to the right and left of the page like this: https://mixandmatchmama.com/2017/11/rainy-day-closet/ but maybe halfway down the page instead of up at top?
Just wondering if a 'on-scroll' javascript could be tied to Sridhar’s tutorial https://sridharkatakam.com/adjacent-entry-navigation.../ ? Then use CSS to position to the left and right?
In the past, I wrote a tutorial on Adjacent Entry Navigation in Genesis with Thumbnails. In this article, we shall use that as a starting point and use a bit of jQuery to display previous post block at the left edge and next post block at the right edge of the browser on desktops.
From 1615px (changeable in style.css) and below, the adjacent post navigation will be set to appear below the comments.
At screen widths 1615px and below:
Step 1
Create a file named say, singular.js in child theme's js
directory having the following:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.