This code enables you to display the site title, description and header on scroll. The code works regardless of whether you choose the after header menu or use the header right widget area.
Video Demo – Sample Theme
Shows the site header on scroll tested using the Genesis Sample child theme by StudioPress.
There’s 3 steps :
Step 1 : From the download folder, upload the file named scroll.js to your themes root directory.
Step 2 : From the download folder, copy & paste the PHP code from the functions file to the end of your child themes functions file.
Step 3 : From the download folder, copy & paste the CSS from the style.css file to the end of your child themes style.css file and clear caching.
Register or login to access the download folder :