Editor X: Adding and Customizing Tabs

6 min read
Editor X is transitioning to Wix Studio, our new platform for agencies and freelancers.Learn more about Wix Studio
Use the tabs element to organize and group related content on your page. This element lets you show multiple sections of content in a compact manner, making it easy for your visitors to find the information they need. 
A GIF showing how the tabs element works on a live site
In this article, learn how to:

Adding the tabs element to your page

Add as many tab elements as you need to organize your information. After choosing a preset and dragging it onto your page, customize the content and add the elements you need. 

To add tabs:

  1. Click Add Elements  at the top of Editor X.
  2. Click Layout Tools.
  3. Click Tabs.
  4. Choose a design preset you like and drag it onto your page.
  5. Customize the content of your tabs:
    1. Click the Tabs element you just added.
    2. Click Manage Tabs.
    3. Select the tab you want to work on. 
    4. Edit the tab's content: 
      • Add more elements.
      • Edit existing elements.
      • Adjust the grid to your desired layout.
A screenshot of the Add Elements panel in Editor X, showing the preset Tabs designs you can add

Managing your tabs

Use the Manage Tabs panel to add, duplicate, rename or delete tabs. This panel also allows you to navigate between your tabs – click a tab to see how it looks.  

To manage your tabs:

  1. Click the tabs element.
  2. Click Manage Tabs.
  3. Hover over the relevant tab and click the More Actions icon .
  4. Choose what you want to do with this tab: Rename, Delete or Duplicate.
Want to add a blank tab?
Click Add New Tab at the bottom of this panel.

Designing your tabs

Personalize your tabs element so that it matches the style of your page. You can design the tab menu as well as the container that shows the tab content.
Tip:
You can design the tab menu for 3 different states: Regular, Hover and Selected.

To design your tabs:

  1. Click the tabs element. 
  2. Click the Inspector icon  at the top of Editor X.
  3. Click the Design tab .
  4. Choose the part you want to design from the drop-down:
    • Menu container: This container shows your tab menu.
    • Tabs: These are the tabs appearing on the menu.
    • Container: This is the container that shows the content of each tab.
  5. Use the available design options:
    • Background fills: Apply a color, gradient or image background. You can add multiple background layers and adjust their opacity. 
    • Borders: Add borders to create a contrast against your site page. Choose a design and color, and set the width.
    • Corners: Choose how you want to corners to look. You can adjust each corner differently, and make them rounder or more square.
    • Shadows: Add shadows for a cool 3D effect. You can set the size, visibility, angle, and more to give it more impact.
    • Layout: Adjust the padding to make it larger or smaller. You can enable or disable the Lock icon undefined to adjust each side separately, or make them match.
    • Text: Style and format the tab names appearing on the menu. You can change the font, size, color and more. 
A screenshot showing the Design tab in the Inspector, where you can design every part of the Tabs element
Note:
The available options depend on the part you choose to design (i.e. Menu container, Tabs or Container). 

Choosing a default tab

The default tab is the first one your visitors see. You can change the default tab to whichever you want to appear first. 
Tip:
In the Manage Tabs panel, you can see a checkmark icon next to the current default tab.
A screenshot showing the checkmark icon that appears next to the default tab in the Manage Tabs panel

To set the default tab:

  1. Click the tabs element.
  2. Click Manage Tabs.
  3. Hover over the relevant tab and click the More Actions icon .
  4. Click Set as default.
A screenshot showing how to set the default tab from the Manage Tabs panel

Adjusting the tab layout

Customize the layout, spacing and padding of your tabs element so it looks just the way you want. If you have a large amount of tabs, you can also decide how to show them on the menu – let visitors scroll to see the rest of the tabs or add more rows to the menu so they all fit. 

To adjust the tab layout:

  1. Click the tabs element.
  2. Click the Layout icon .
  3. Adjust the layout using the available options:
    • Choose a layout: Decide how much you want your tab menu to stretch:
      • Default: The menu does not stretch to fit the width of the element. You can then align the menu to the left, center, or right.
      • Fit to width: The menu stretches to fit the width of the element. You can align the text on your menu to the left, center, or right.
    • Spacing between tabs: Drag the slider to change the spacing between the tabs on the menu.
    • Spacing between tabs & container: Change the space between the menu and the container that shows the content of each tab.
    • Horizontal padding: Adjust the padding on the left and right of the menu tabs.
    • Vertical padding: Adjust the padding on the top and bottom of the menu tabs.
    • How to display tabs that don't fit: Select how to display to display tabs that don't fit in the menu:
      • Scroll: Visitors can scroll through the menu to see more tabs.
      • Wrap: Another row is added to fit the other tabs. You can then use the slider to adjust the spacing between the rows.
    • Display items from: Display tabs on the menu from left to right, or vice versa.
A screenshot showing the Tab Layout panel that lets you adjust the layout of the element.

Did this help?

|