01) Access the Control Panel
03) Click on Settings >> Categories and Subcategories Settings >> Horizontal Categories / Sub-Categories Script
04) You can customize the source code of the menu as desired by the Control Panel >> Layout >> File Management >> open the includes / boxes folder >> edit the files named categories.
You need to activate the menu in the Display Categories and Sub Categories Horizontal on Header >> Change to true >> click the UPDATE button
* Check in the templates folder the selected layout edit the header.php file to check which file to edit the top menu according to the option selected in the Control Panel.