How to Add Tabs to a WordPress Page with Elementor
In this article
Adding tabs to a WordPress page with Elementor lets you organize content into clickable sections, saving space and improving readability. You’ll use the Tabs widget, which comes free with Elementor, to create tabbed layouts without any extra plugins. This guide walks you through the entire process, from inserting the widget to styling it to match your site.
What You'll Need
- A WordPress site with the free Elementor plugin installed and activated.
- An existing page or post where you want to add tabs, or the ability to create a new one.
- Basic familiarity with the Elementor editor (dragging widgets, editing content).
Step-by-Step
- Open the page in Elementor. Go to your WordPress dashboard, navigate to Pages (or Posts), and click Edit with Elementor on the page where you want tabs.
- Add a new section (optional). If you want tabs in a specific area, drag a new section onto the canvas. Otherwise, you can place tabs inside an existing section. For a clean layout, use a one-column section.
- Find the Tabs widget. In the left panel, click the widget icon (the grid symbol) to open the widget library. Type “Tabs” in the search bar. The Tabs widget appears under the “General” category.
- Drag the Tabs widget into your section. Click and hold the Tabs widget, then drag it into the desired column. Release the mouse button to drop it.
- Edit the tab content. By default, the widget has two tabs. Click on a tab title in the editor to change its text. Click on the content area below the title to edit the tab’s content. You can add text, images, videos, or any other Elementor widget inside a tab’s content area.
- Add or remove tabs. In the left panel, under the Content tab, you’ll see a list of tabs. To add a new tab, click the Add Item button (a plus icon). To remove a tab, hover over it and click the trash icon.
- Reorder tabs. Drag the six-dot handle next to each tab in the list to reorder them. The order in the list matches the order on the page.
- Choose the default active tab. In the Content tab, find the Default Active Tab dropdown. Select which tab should be open when the page loads. The default is the first tab.
- Adjust tab alignment. Under the Style tab, you can change the alignment of the tab titles (left, center, right, or justified). This is useful for matching your design.
- Customize the tab appearance. In the Style tab, you can change the colors of the tab titles, the active tab, and the content area. You can also adjust typography, padding, and borders. For example, set a background color for active tabs to make them stand out.
- Style the tab content area. Under Style > Content, you can change the background color, border, and padding of the content area. This helps separate the content from the rest of the page.
- Preview and publish. Click the Preview button (the eye icon) to see how the tabs look on the front end. Test clicking between tabs to ensure they work. When satisfied, click Update or Publish to save your changes.
Common Mistakes
- Not saving after editing: Forgetting to click Update or Publish after adding tabs means your changes won’t appear on the live site.
- Using too many tabs: Overloading a page with many tabs can overwhelm visitors. Stick to 3-5 tabs for optimal usability.
- Ignoring mobile view: Tabs can look different on mobile. Always check the responsive mode (by clicking the mobile icon) to ensure tabs are still readable and clickable.
- Putting critical content only in tabs: If a tab is not clicked, its content is hidden. Don’t put essential information (like contact details or pricing) solely inside a tab.
Tips
- Use tabs for related content: Group similar information together, such as product specifications, shipping details, and reviews.
- Keep tab titles short: Use 1-3 words per tab title so they fit on one line and are easy to scan.
- Add icons to tabs: You can add an icon next to each tab title by using the “Icon” field in the widget settings. This makes tabs more visually appealing.
- Style with your brand colors: Use your site’s color palette for the active tab and hover states to maintain consistency.
- Use tabs for FAQs: Tabs are great for FAQ sections, letting users click a question to see the answer without scrolling.
Troubleshooting
Tabs not showing on the page: Ensure the widget is placed correctly within a section. If the section is hidden or has zero height, the tabs may not appear. Check the section’s settings and make sure it’s visible.
Tabs not switching when clicked: This is often caused by a JavaScript conflict with another plugin. Try deactivating other plugins one by one to find the culprit. Also, clear your browser cache and any caching plugins.
Tab content not displaying correctly: If you’ve added complex widgets inside a tab, they might not render properly. Try simplifying the content or using basic text/images. Ensure you’ve saved the changes before previewing.
Styling not applying: If your custom CSS or style changes aren’t showing, check that you’re editing the correct tab under the Style section. Also, clear your browser cache and the WordPress cache.
Tabs look broken on mobile: Switch to mobile view in Elementor and adjust the tab alignment and font size. You may need to reduce padding or change the layout to a vertical stack if tabs are too cramped.
Frequently Asked Questions
Can I add tabs inside a tab?
Yes, you can nest tabs by dragging another Tabs widget into a tab’s content area. This creates a sub-tab layout, but be careful not to confuse users.
Do tabs work on mobile devices?
Yes, Elementor tabs are responsive and work on mobile. You can customize their appearance in mobile view to ensure they remain user-friendly.
Can I use tabs in a WordPress post?
Absolutely. The process is the same as for pages. Open your post in Elementor and follow the same steps.
Is the Tabs widget available in the free version of Elementor?
Yes, the Tabs widget is included in the free version. You don’t need Elementor Pro to use it.
How do I change the tab icon?
In the widget settings, under the Content tab, click on a tab to reveal its settings. There’s an “Icon” field where you can select an icon from the icon library.
Can I link a tab to an anchor on the same page?
Not directly. Tabs are meant to show/hide content within the widget. If you need to jump to a tab from a link, you’d need custom JavaScript, which is beyond the default widget capabilities.