The Horizontal Categories widget shows the horizontal menu with your categories. If you have many nested categories, the menu will help shoppers quickly find the category they need:
The menu adjusts to the width of the page it’s been added to. If added to a responsive website, the menu is also responsive and looks great on mobiles:
You can add this menu to your website if you have a custom site or use a site builder or CMS where you can edit the source code of your pages.
For Wordpress users: if you’ve added your Ecwid store to a Wordpress site, the Ecwid plugin has a ready setting for adding a store with category menu.
For Wix users: you can add your store categories to the horizontal menu of Wix site menu following this instruction Adding categories of your Ecwid store on Wix.
Get the code for your category menu
To get the menu widget code for your store:
- Go to Ecwid control panel → All Sales Channels → Custom website;
- Scroll to the Store extensions section and click Add Category Navigation:
The code will be copied.
Alternatively, you can copy the code for a category menu widget below (just make sure to replace 1003 in the example below with your store ID):
Now you can add the code for your store's category menu to your site.
Add the category menu code to your site
To add the category menu to a site page, you should have access to the source code of that page. The exact steps depend on the site builder or CMS you use for your site, but generally, the steps are as follows:
- Log into the backend of your site,
- Open a page with your store for editing (in <HTML> mode);
- Paste the menu code that you’ve generated earlier to the source code of that page (if it’s a page where you’ve added your store, put the menu code above your store code).
- The categories will appear as soon as you save the changes and publish your site.
Alternative widgets for category menu
You can also add a category menu to your website with the help of the Multi-level Illustrated Menu app from Ecwid App Market. This app shows categories in the menu with category images and descriptions. The menu is optimized for any device and you can customize its position as well as the color scheme.
Here's how it looks in Desktop:
This app requires payment and subscription to any paid Ecwid plan.