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?
Was this article helpful?
Cancel
Thank you!