How do I create tabs?

Hello forum! First post here, I’ve been trying to create this for the past hour, would really need someone’s help, I know there is a way but I cannot figure it out, pleease help


1 Like

Hi krle, welcome to the forum :slight_smile:

Its pretty easy to create tabs in Divhunt, just you need to have a proper structure of tags.
Follow next steps to create tabs:

Step 1: Create correct structure of elements

Structure needs to be like on a screenshow below.
First div should be holder (Tabs), then we have two divs, one that is holding buttons (Tabs Buttons), and one that is holding all content (Tabs Content).

Then inside of each of those two divs, we should have exact same number of items. You will see in screenshot below, that I have 6 items as ‘Tab Button’, and I have 6 images (Tab).
But keep in mind, inside of in this example ‘Tab Button’ you can put anything you like. Also instead of an image (Tab) I could’ve put div that has many items inside. That part is on you.

image

Step 2: Apply transform Tabs

Now click on ‘Tabs’ layer from an example above. And go to Transform settings (screenshot below) and set transform to Tabs.

Options:

You have 3 main options for tabs:

Opened tab - number of tab that is initially opened, if you enter 2 for example, it will show 2nd tab, both in builder and on a website. If you want easily to edit all tabs quickly, you can enter ‘*’ in that input, and all tabs will be visible.
Animation - Simple animation when switching tabs on live website.
Duration - Duration of animation above. If you set animation to none. This doesnt have any effect.

You are all set, enjoy!

1 Like

oh wow, didnt know that, thanks!

Hey Pakic, I tried to create tabs using your instructions but I am not able to create the tabs. I even can’t find the Tab module in Elements. Can you please create it and add in the elements or help me in creating it? I am struggling so much with specially Layout for mobile responsiveness. Divhunt should automatically adjust the mobile responsiveness like how other builders in WordPress do.

@Tariq

Do you see Tabs predefined block?

If yes, then you can drag & drop it. If not maybe you are missing plugin Tabs? Which you can install from admin panel.

I installed the tabs plugin but can’t find the Sidebar Tabs or Auto-Rotating Tabs in Block Section

@Tariq

Can you share your domain name so I can take a look?

Hello, I wanted to share that I have installed the tabs builder, but I do not see it as an option.

@Tariq

Just reinstalling the plugin fixed the issue.
Try now.

1 Like

Thanks. It is appearing now