Articles on: Developers

FIlter Hook: Primary Menu Class

There are two hooks available that allow you to add your CSS class into the primary menu and they are zakra_nav_class and zakra_primary_menu_class . Both hooks add your class into #site-navigation. zakra_nav_class appears before zakra_primary_menu_class.

To know how to use a hook, refer to this: How to use Hooks in Zakra Theme?

Updated on: 12/09/2019

Was this article helpful?

Share your feedback


Thank you!