Remove Search Results Sidebar

// Remove search results sidebar
function remove_search_sidebar( $layout ) {
	if ( is_search() ) {
		$layout = 'full-width';
	}
	return $layout;
}
add_filter( 'ocean_post_layout_class', 'remove_search_sidebar', 20 );

All PHP snippets should be added via a child theme's functions.php file.