In this tutorial we shall register a custom Top Bar widget area, add it above the header in a closed state and use jQuery to slide open when the bar is clicked in Genesis. The widget area can again be closed in a smooth manner by clicking the bar. Screenshots: Default closed state: When opened: Screencast: The example shows two text widgets. Needless to say, just about any widget(s) can be placed in the container.
Step 1Create a file named say, general.js in child theme's
jsdirectory having the following:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.