Software Tips

astralogo01

Remove sidebar and make shop pages wider with Astra WordPress theme

I had an issue with the Astra wordpress theme and my Woocommerce store pages. I was stuck with a sidebar that I wasn’t using. Astra sent me the following code to remove the sidebar: add_filter( ‘astra_page_layout’, ‘no_sidebar_shop_page’ ); function no_sidebar_shop_page( $sidebar ) { if ( is_shop() ) { $sidebar = ‘no-sidebar’; } return $sidebar; } …

Remove sidebar and make shop pages wider with Astra WordPress theme Read More »

Pin It on Pinterest

Scroll to Top