Skip to content
The Admin Bar
  • Get Involved
    • Facebook Group
    • Barfly Community
    • TABLE Mastermind
  • Learn
    • 2026 Survey
    • Articles
    • Events
    • Newsletter
    • YouTube
    • WordPress Professionals Survey
    • SEO Weekly
    • Security Weekly
    • Accessibility Weekly
  • Products
    • The Paid Discovery Class
    • Website Owner’s Manual
    • Agency Copilot
    • Website Pricing Calculator
    • Agency Airtable Pack
    • Prospect Pipeline Challenge
    • Easy-Peasy Proposal
    • TAB Swag
  • About
  • Free Stuff

How to Set Up Tabs in GenerateBlocks 2.0 Without Frustration

The GenerateBlocks 2.0 release introduced a completely rebuilt tabs block, along with updates to all other blocks. While the new features are powerful, there are a few nuances that can trip you …

Kyle Van Deusen

Published:

February 14, 2025

Filed Under:

General

Kyle Van Deusen

The Admin Bar

After spending 15 years as a graphic designer and earning a business degree, I launched my agency, OGAL Web Design, in 2017. A year later, after finding the amazing community around WordPress, I co-found The Admin Bar, which has grown to become the #1 community for WordPress professionals. I'm a husband and proud father of three, and a resident of the Commonwealth of Virginia.

Tabs

This content contains affiliate links. View our affiliate disclaimer.

The GenerateBlocks 2.0 release introduced a completely rebuilt tabs block, along with updates to all other blocks. While the new features are powerful, there are a few nuances that can trip you up if you’re not careful. I spent about an hour troubleshooting some issues with the tabs block, and I wanted to share my findings to save you time and frustration.

Everything you need to do is still possible, but there are a couple of key areas where you need to pay close attention. In this guide, I’ll walk you through the process of setting up tabs in GenerateBlocks 2.0, highlighting the potential pitfalls and how to avoid them.

Youtube video

Adding a Tabs Block: Options and Structure

When you add a tabs block in GenerateBlocks, you’ll see three layout options: horizontal tabs, vertical tabs, and button tabs. Personally, I’ve had the most success with button tabs, so that’s what I’ll focus on here.

Once you add a tabs block, the structure looks like this:

  • Tabs Block: The main wrapper.
    • Tabs Menu: Contains the menu items (buttons).
    • Tabs Items: Contains the content for each tab.

Inside the Tabs Menu, you’ll find individual menu items, and inside the Tabs Items, you’ll find corresponding tab items. By default, these tab items contain a core paragraph block and a GenerateBlocks headline block, which control the label and content for each tab.

Styling the Tab Buttons

One of the first things you’ll notice is that the tab buttons don’t share styles by default. If you change the padding or spacing on one button, it won’t apply to the others. To fix this, you need to add a shared class to the tab buttons.

Steps to Style Tab Buttons Globally:

  1. Add a Class to the Tab Menu Item: Select the tab menu item (not the text block inside it) and add a class, such as tab-button.
  2. Move Local Styles to the Class: When creating the class, move all local block styles (including hover and active styles) to the new class.
  3. Apply the Class to All Buttons: Go through each tab menu item and remove the local block styles, then apply the shared class.

Now, any changes you make to the tab-button class will apply to all tab buttons. For example, if you set the padding to 80 pixels, it will affect every button uniformly.

Avoiding Issues with Tab Items

The tab items are where I ran into the most trouble. By default, GenerateBlocks uses classes to show and hide the content for each tab. If you change the display property of a tab item (e.g., to grid), it overrides the default behavior, and all tab content becomes visible at once. This is definitely not what you want.

Correct Way to Style Tab Items:

  1. Don’t Change the Display Property of Tab Items: Leave the default display settings intact.
  2. Use a Container Inside the Tab Item: If you need a specific layout (e.g., a two-column grid), add a container inside the tab item and apply your styles to that container.

For example, if you want a two-column layout:

  • Add a container inside the tab item.
  • Apply a class to the container (e.g., tab-item-grid).
  • Set the container’s display property to grid and define your grid template columns.

This approach ensures the tabs function correctly while allowing you to customize the layout inside each tab.

Adding New Tabs

When you add new tabs using the “Add Tab Item” button, GenerateBlocks automatically copies the structure and styles from the existing tabs. This is helpful if you want all tabs to have the same layout and styling. Simply update the content for each new tab, and you’re good to go.

Key Takeaways

Here are the two main points to remember when working with tabs in GenerateBlocks 2.0:

  1. Style Tab Buttons with a Shared Class: Add a class to the tab menu items and move all local styles to that class. This allows you to control all buttons globally without duplicating effort.
  2. Don’t Change the Display Property of Tab Items: If you need a custom layout, use a container inside the tab item and style that instead. Avoid touching the display property of the tab items themselves.

By following these guidelines, you can avoid the common pitfalls and set up tabs that work seamlessly.

Wrapping Up

The tabs block in GenerateBlocks 2.0 is a powerful tool, but it does require a bit of care to use effectively. If you follow the steps outlined here, you’ll save yourself time and frustration while creating clean, functional layouts.

Hopefully, this guide helps you navigate the quirks of the tabs block and get the most out of GenerateBlocks 2.0. Happy building!

Kyle Van Deusen

The Admin Bar

After spending 15 years as a graphic designer and earning a business degree, I launched my agency, OGAL Web Design, in 2017. A year later, after finding the amazing community around WordPress, I co-found The Admin Bar, which has grown to become the #1 community for WordPress professionals. I'm a husband and proud father of three, and a resident of the Commonwealth of Virginia.

Come Join Us!

Join the #1 WordPress Community and dive into conversations covering every aspect of running an agency!

Join Group

Kyle Van Deusen

Community Manager

Latest Events

February, 26th, 2026

Code Snippets Are Slowing Down Your Website

Why Perfmatters Built a Performance-First Snippet Manager

January 20th, 2026

Revolutionizing How Small Agencies Grow Their Business Efficiently

September 16, 2025

Termageddon 2.0

Better Tools, Smoother Workflows, Happier Clients
Tpdc onblue

Learn a proven discovery framework to transform casual leads into high-paying clients.

View the Course
The Friday Chaser

Wash down the week with the best of The Admin Bar! News, tips, and the best conversations delivered straight to your inbox every Friday!

Subscribe Today

More Articles

Customer support help desk icon with a question mark on a yellow background.
May 25, 2026

The Best Help Desk Tools for Web Agencies

WordPress agency owners share the support tools they actually use — and why getting requests out of your inbox is the move that changes everything.

A smiling man with glasses and a gray hoodie outdoors.
May 25, 2026

Member Spotlight: Markus Chvojka

Markus Chvojka has one of those backgrounds that makes a lot of sense once you hear …

A smiling man with glasses and a patterned shirt, member profile on The Admin Bar website.
May 20, 2026

Member Spotlight: Mayank Majeji

Mayank Majeji’s story feels a lot like the way many of us got into this industry: …

2025phone

Join the #1 WordPress Community

The Admin Bar community is at the heart of what we do. Join in on the daily conversation and get involved.

Request Membership
The Admin Bar logo.

Explore

Community

Events

Articles

Products

Newsletter

Agency Report Card

Care Plan Toolkit

Noted!

Barfly Login

Policies

Privacy Policy

Terms of Service

Affiliate Agreement

Affiliate Disclaimer

Accessibility Statement

Privacy Settings

Misc.

Advertise

Login

Contact

Hosted with Rocket.net

© 2017-2026 The Admin Bar (a Division of OGAL Web Design) — All Rights Reserved

The Admin Bar logo.
  • Get Involved
    • Facebook Group
    • Barfly Community
    • TABLE Mastermind
  • Learn
    • 2026 Survey
    • Articles
    • Events
    • Newsletter
    • YouTube
    • WordPress Professionals Survey
    • SEO Weekly
    • Security Weekly
    • Accessibility Weekly
  • Products
    • The Paid Discovery Class
    • Website Owner’s Manual
    • Agency Copilot
    • Website Pricing Calculator
    • Agency Airtable Pack
    • Prospect Pipeline Challenge
    • Easy-Peasy Proposal
    • TAB Swag
  • About
  • Free Stuff
YouTube Facebook
Sell More Care Plans