top of page
Crumpled Fabric


Tabbed Navigation using Wix Menu

Click URL to copy

Feb 24, 2024

2 min read

WIX Ideas

Tags: Wix Location Wix Menu Tabbed Elements

Tabbed Navigation using Wix Menu


In this tutorial, we'll walk you through the process of setting up tabbed navigation in your Wix website using Wix Tab Elements and Horizontal Menus. Whether you're aiming to streamline navigation within a single-page layout or across multiple pages, we've got you covered. Follow along as we delve into the implementation of this intuitive feature.

Adding Wix Tab Elements and Horizontal Menu:

To begin, you'll need to add a Wix Tab Element and a Horizontal Menu to your Wix website. Navigate to the Wix Editor, locate the desired page, and drag the Tab Element onto your canvas. Next, insert a Horizontal Menu component from the Add panel onto your page. Once you've positioned these elements to your liking, you're ready to move on to the scripting phase.

Scripting for Single-Page Navigation:

If your website follows a single-page layout and you wish to switch tabs dynamically on the same page, you can achieve this effortlessly with a few lines of code. Utilize the following JavaScript code snippet within your site's code editor:

Implementing Multi-Page Navigation:

For websites spanning multiple pages, you can still achieve seamless tab navigation by strategically placing code snippets across your site. Begin by importing the necessary module and adding event listeners to your menu items. Here's an example of how to do this in your masterpage.js:

Receiving and Processing Tab Requests:

To ensure that your tabs switch accordingly when requested from any page, implement the following code snippet on the page containing your tab element:


Congratulations! You've successfully learned how to implement tabbed navigation in your Wix website using Wix Tab Elements and Horizontal Menus. Whether your site follows a single-page or multi-page layout, users can seamlessly navigate between sections with ease. Experiment with different designs and functionalities to create a truly engaging user experience. Happy coding!



Leave a comment (0)

Thanks for leaving a comment🎉


Discount Popup + Wix Automation

Discount Popup + Wix Automation

Add a discount popup form and send coupon code to customers

bottom of page