Looking to force Full Width Content layout to all the singular pages of a Custom Post Type in Genesis so there’s no sidebar?
![](https://i0.wp.com/sridharkatakam.com/wp-content/uploads/2019/01/genesis-single-cpt-full-width-layout.png?fit=1024%2C722&ssl=1)
add_filter( 'genesis_pre_get_option_site_layout', 'custom_cpt_layout' );
/**
* Force full width content on single entries of Portfolio CPT.
*/
function custom_cpt_layout() {
if ( is_singular( 'portfolio' ) ) {
return 'full-width-content';
}
}
Replace portfolio
with the name of your CPT.
.single-portfolio .content {
width: 100%;
}