In my Facebook group a user asked,
I'd like to see a tutorial on how to place an automatic back-to-top icon after each heading in the text (like Yoast has). Thanks!
We can use
genesis_before action hook to inject a custom div#top above .site-container in Genesis and use JS for scrolling smoothly to that div when URLs linking to #top are clicked.
Create a file named say, global.js in your child theme's
js directory (create, if not existing) having the following code:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.