Skip to content

evoYTTabs: your first Tabs element

Before you start

With the plugin installed and enabled, the YOOtheme Pro Builder has two new elements in the evoAddons group: Tabs (the list of tabs) and Tab (each individual tab). You only add Tabs yourself; the Tab elements hang from it.

Each Tab is a sublayout: you can drop any Builder element inside it (grids, panels, sliders, text, images or other Tabs) and edit it like the rest of the page.

Create a Tabs with two tabs

  1. Open a page in the Builder and add the Tabs element (evoAddons group). It starts with two tabs, "Tab 1" and "Tab 2".
  2. With the Tabs selected, open the Content tab of the panel. In the item list, click "+" to add more tabs, drag to reorder them or delete them.
  3. Click a tab in the list and type its Title (it is the text in the navigation).
  4. On the canvas, drop the elements you want inside each tab.

On the canvas the tabs are stacked, each with its title above, so you can edit all of them without switching tabs. On the public site only one shows at a time, with the tab navigation.

If you leave a title empty, the tab is called "Tab 1", "Tab 2" and so on, according to its position.

Change the look

In the Settings tab of the Tabs, Navigation group:

  1. Style: Tabs or Pills.
  2. Position: Top, Bottom, Left or Right.
  3. Alignment: only counts with the navigation at the top or bottom. Left, Center, Right or Justify.
  4. Animation: None by default. The others are Fade, Scale Up, Scale Down and Slide Horizontal or Vertical.

Every value is described in settings.

The defaults for new Tabs are set in the plugin, under System → Plugins → System - evoYTTabs:

Settings of the System - evoYTTabs plugin in Joomla, with the default style, position, alignment and animation of new Tabs elementsSettings of the System - evoYTTabs plugin in Joomla, with the default style, position, alignment and animation of new Tabs elements

Link to a specific tab

  1. In the Navigation group, set Active tab in URL to "Hash (#tab-name)".
  2. Save and open the page. Each tab now has an identifier taken from its title: "Pricing and plans" becomes #pricing-and-plans.
  3. Link to https://your-site.example/page#pricing-and-plans and the page opens on that tab.

When the visitor changes tab, the address updates without reloading the page and without adding history entries. Details and limits are in the reference.

Dropdown menu on mobile

If you have many tabs, set Mobile menu to "Below 640px" or "Below 960px". Below that width, the tab bar is replaced by a button showing the active tab that opens a list.

What next