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.
Default closed state:
The example shows two text widgets. Needless to say, just about any widget(s) can be placed in the container.
Create a file named say, general.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.