In Agency Pro, header is fixed to the top and always visible by default. If you would like to display Primary Navigation below the header and also have it fixed along with the header, follow along.
This can be done by wrapping .site-header
and .nav-primary
in a .custom-header
and setting fixed position to this .custom-header
instead of the default .site-header
.
Step 1
At Appearance > Menus, assign your desired menu to the Primary Navigation location.
Step 2
Add the following in Agency Pro's functions.php:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.
This worked perfectly!
Thank you for such great clear tutorials!