Fix Spacing Issues in Gutenberg Blocks

No results found. Try again with different words?

Search must be at least 3 characters.

Fix Spacing Issues in Gutenberg Blocks

Starter Templates plugin offers an option to import Gutenberg Templates and Blocks Patters. You can directly import templates inside the block editor.

Sometimes, after importing a template, you might observe some spacing or alignment changes compared to the original template you previewed before importing.

If you are experiencing some spacing differences after importing Gutenberg templates or block patterns, you can fix it quickly.

All you have to do is use a simple custom code.

Paste the following code in your child theme’s functions.php file.

add_filter( 'astra_gutenberg_patterns_compatibility', '__return_true' );

Note: If you are an existing Astra user and updating it from previous versions to v3.3, then only you will need this. If you start using Astra from version 3.3 and above you will not need to add this code.

Was this article helpful?
Did not find a solution? We are here to help you succeed.

Related Docs

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