How to make Wordpress Divi Theme 404 page Full Width
Add the code below to your Child theme's functions.php
function my_body_class($classes) {
$classes[] = '';
// if(is_404()){
if(!is_page()){
$classes[] = 'et_full_width_page no-sidebar';
}
return $classes;
}
add_filter('body_class', 'my_body_class');
Add the code below to your Child theme's style.css
.no-sidebar #sidebar{display:none;}