Using GenerateBlocks to Style Third-Party Blocks

While experimenting with the new alpha releases of GenerateBlocks, I stumbled upon a feature that unlocks some unexpected superpowers. With the new class system in GenerateBlocks, you can use it as a …

Published:

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.

Css engine

This content contains affiliate links. View our affiliate disclaimer.

While experimenting with the new alpha releases of GenerateBlocks, I stumbled upon a feature that unlocks some unexpected superpowers. With the new class system in GenerateBlocks, you can use it as a CSS engine to style third-party blocks directly inside the builder.

This approach allows you to apply advanced styles to blocks that don’t offer many customization options, all without needing to write custom CSS. Let’s dive into a demo to see how this works and explore a practical use case.

Youtube video

Styling Core Blocks with GenerateBlocks

The Problem with Core Blocks

If you’ve ever used the core paragraph block in WordPress, you’ll know it has limited styling options compared to GenerateBlocks’ headline block. While the paragraph block has seen improvements, it still doesn’t offer the same level of control.

With GenerateBlocks’ class system, you can create styles using its advanced controls and apply them to core blocks—or any third-party blocks—without needing to write CSS manually.

Setting Up a Test Paragraph

  1. Add a headline block to the page.
  2. Change the block type to a paragraph and add some placeholder text (e.g., “Testing”).
  3. Create a new class called test-paragraph and start with a blank style.

Styling the Paragraph

Using GenerateBlocks’ controls, style the paragraph:

  • Text Color: Blue.
  • Font Size: 40px.
  • Font Weight: Bold.
  • Letter Spacing: 2em.
  • Background Color: Add a background for visibility.
  • Transform: Rotate the text slightly for demonstration purposes.

Once the class is set up, save it and delete the headline block—it was only used to create the styles.

Applying the Class to a Core Paragraph Block

  1. Add a core paragraph block to the page.
  2. Go to the block’s Advanced settings and paste the test-paragraph class into the CSS class field.

The paragraph block now inherits all the styles you created using GenerateBlocks.

Practical Use Case: Styling Yoast Breadcrumbs

The Problem with Yoast Breadcrumbs

The Yoast breadcrumbs block is a great tool for adding navigation to your site, but it offers no styling options. It simply inherits your default paragraph and link styles, which can be limiting.

Using GenerateBlocks, you can create a custom style for breadcrumbs and apply it to the Yoast block.

Setting Up the Breadcrumbs Style

  1. Add a headline block to the page.
  2. Change the block type to a paragraph and add placeholder text (e.g., “Breadcrumbs”).
  3. Create a new class called breadcrumb and start with a blank style.

Styling the Breadcrumbs

Customize the typography:

  • Font Weight: Bold.
  • Font Size: 0.8rem.
  • Text Transform: Uppercase.
  • Letter Spacing: 0.5em.

Styling Links and Hover States

Breadcrumbs often include links, so it’s important to style them:

  1. Select the breadcrumb class and click on the Links selector.
  2. Remove the underline by setting Text Decoration to none.
  3. Change the link color to red.
  4. Click More and select Hovered Links.
  5. Change the hover color to blue.

Save the class once all styles are applied.

Applying the Class to Yoast Breadcrumbs

  1. Add the Yoast breadcrumbs block to the page.
  2. Go to the block’s Advanced settings and paste the breadcrumb class into the CSS class field.

The breadcrumbs block now reflects the custom styles you created, including the typography changes and link hover effects.

Why This Is Powerful

This feature may not have been an intended use of GenerateBlocks, but it opens up a world of possibilities. You can now style third-party blocks directly inside the builder, using GenerateBlocks as a CSS engine.

Key Benefits

  • Advanced Styling: Apply GenerateBlocks’ controls to blocks with limited options.
  • Consistency: Maintain a cohesive design across your site.
  • Ease of Use: Style blocks without writing custom CSS.

Final Thoughts

This approach is a game-changer for working with third-party blocks. Whether you’re styling core blocks, Yoast breadcrumbs, or other plugins, GenerateBlocks gives you the tools to create custom styles directly in the editor.

If you use third-party blocks that lack styling options, I encourage you to try this method. It’s a simple way to enhance your designs without leaving the builder.

Start experimenting with this system and see how it can transform your workflow.

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!

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

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!

More Articles

Customer support help desk icon with a question mark on a yellow background.

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.

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.

Member Spotlight: Mayank Majeji

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