No results found. Try again with different words?

Search must be at least 3 characters.

How to remove horizontal & vertical gallery layouts from a single product page?

Sidebar Image

Did not find a solution? We are here to help you succeed.

In the Astra Pro update v3.9.0, we have released 2 new gallery layout options for a single product, i.e. Horizontal & vertical gallery. But as these are custom gallery Astra layouts, You have faced an issue when gallery layouts are not working or look improper with theme builder single product layouts.

If you previously prepared any “Single Product” layout (v3.9.0), you could face the gallery layouts missed on the front-end single product page. Keeping in mind the popular page builder themer layouts, we fixed this issue in our last v3.9.2 update. But if you still come across the situation where this gallery layout is not required on your single product layout on the front end, you can use the newly added filter.

So here is the filter to disable those custom galleries and let the layout/custom layout work as per their way.

add_filter( 'astra_addon_override_single_product_layout', '__return_false' );
Was this article helpful?
Sidebar Image

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.

Download is Just A Click Away!

Download Checklist

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