Submit Your Site
Select Page

Dec 3, 2018 | Blog

How to create vertical tabs in Divi

Marshall

Marshall

This article covers steps to create vertical tabs in Divi using custom CSS. You could also take a look at our Divi Plus plugin that has an advanced tabs module which will let you create vertical tabs with other amazing features. Check out Divi Verticals Tabs demo here.

 

Are you looking to create a Divi Vertical Tab? Tabs in Divi theme are placed on top by default. Currently there is no option to control the positioning of the tabs and thus if you are looking to move the Divi tabs on the left in vertical position, there is some custom CSS required to achieve this.

In this post, we look at the scope of moving the Divi tabs vertically with a live implementation. Want vertical tab in both side, then check out this blog post, How to create Divi vertical tabs (6 examples with CSS).

Goal

Our goal is to change the default position of the Divi tabs module and bring it to the left vertically. 

We are not making this change global and it will only apply to the tabs we want.

Assign a CSS Class to Tab

Assign a class to the tab module. We will name it .custom-tabs in this demo implementation.

Divi Vertical Tabs

Add CSS to Page/Divi Theme Panel

In the next step, we will paste the following code to our Divi Theme panel.

It can also be added to the page using Divi Builder but this needs to be repeated on all pages where you want to use the layout.

If you use the code in Divi theme panel, simply add .custom-tabs class to the tabs on new pages where you use the module.

Goal Accomplished

This was a simple and easy implementation for creating vertical Divi tabs which can be applied to an existing tab module in less than 2 minutes. 

See this code in action here.

Some examples of tabs created using the Divi Plus Tabs module.

The main features include

  • Vertical tabs
  • Horizontal tabs
  • Tab potion on top, bottom, left, right
  • On hover/on click tab trigger
  • Use text and icons in tab titles.

 

Divi Vertical Tags
Divi Library in Tabs
Divi Vertical Tabs
Divi Vertical Tabs
Marshall

Marshall

1 Comment

  1. Chris Draughon

    Thanks for sharing. Your code works compared to the code provided in the reference article.

    Reply

Submit a Comment

Your email address will not be published. Required fields are marked *