Hi @fznshaikh,
Would you please try adding this custom PHP code to your site
add_filter( 'astra_get_content_layout', 'custom_post_type_content_layout');
// Update the container layout based on Custom Post Type.
function custom_post_type_content_layout ( $layout ){
// Add your CPT instead of newspaper, book. If it's only for one CPT then add just one CPT.
if ( is_singular( array( 'newspaper', 'book' ) ) ) {
$layout = 'boxed-container'; // This is Boxed layout
}
return $layout;
}?
Please refer to this doc to know how to add custom PHP code in Astra.
And please refer to below for the Layout:
- Full Width / Streched = “page-builderpage-builder”
- ?Full Width / Contained = “plain-container”
- ?Content Boxed = “content-boxed-container”
- ?Boxed = “boxed-container”
?I hope that will help.
??Kind regards,
?Herman ??