This is how I want it: Adding a bavkgroundf-color adds a unwanted padding of 15px…
Remove total theme metabox from portfolio CPT
This is the snippet:
//hide meta box from portfolio add_filter( 'wpex_main_metaboxes_post_types', function( $types ) { // Add to my custom-type post type //$types[] = 'portfolio'; // Remove from blog posts unset( $types['portfolio'] ); // Return post types array return $types; }, 40 );