No results found. Try again with different words?

Search must be at least 3 characters.

Remove default stretched block layout spacing

With the latest update of the Astra theme, we have added a spacing around the full width streched layout for elegant looks of the streched layout.

Remove default stretched block layout spacing

If you are looking to disable the spacing and would like to get the old look of the streched layout, you will need to add the following filter to the function.php file of your child theme.

add_filter( 'astra_stretched_layout_with_spacing', '__return_false' );

This is how it will look after adding the above code to the function.php file of your child theme.

ast-full width streched layout spacing removed

If you are not sure how to add the code to the function.php file, here is an article that will guide you through. If you are not aware what is a child theme and how to install a child them, here is an article that will be helpful.

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

Related Docs

Astra is Free. Now & Forever.

We believe creating beautiful websites should not be expensive. That's why Astra is free for everyone. Get started for free and extend with affordable packages.

REWIND

YEAR IN REVIEW

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
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