How to Add Gutenberg Design Compatibility?

How to Add Gutenberg Design Compatibility?

With Astra theme v2.6.0 we are providing enhanced Gutenberg Design Compatibility. [ Read more here in our post ]

What does this mean?

In this theme update we are adding design specific compatibility with Gutenberg plugins.

We received many requests from our users to provide enhanced or full compatibility in terms of Design.

So with this update, we have added some default Spacings & CSS Styles to make any Gutenberg site more elegant.

For New Users: Those users who are downloading Astra theme on your environment from v2.6.0 and above. No need to make any changes, these changes will be auto applied to your core Gutenberg Blocks.

For Existing users: Users who are using Astra theme from previous version 2.6.0 and update to version 2.6.0 and above. To get this compatibility you will need to add the following filter –

add_filter( 'astra_gutenberg_core_blocks_design_compatibility', '__return_true' );

Note

Add the above code into the child theme’s functions.php file.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

On this page

Take the First Step Toward Success Now.

You’re backed by an amazing team and a risk-free money-back guarantee!

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

This field is required.

REWIND

YEAR IN REVIEW

Scroll to Top
Now choose your preferred
page builder addon
Choose your preferred page builder addon

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form