Archived topic
404 page bleeding into footer
5 replies · Started by Robert on December 3, 2021
I noticed that our 404 page is bleeding into the footer with the search box. I tried adding a custom hero to the 404 page but that did not fix the issue. How can we resolve this?
Hi there,
can you add the following PHP Snippet to your site:
add_filter( 'generate_blog_columns', function( $columns ) {
if ( is_404() ) {
return false;
}
return $columsn;
} );
Is there a typo in the return statement there?
This seems a little bit hacky overall. Is this a bug with generatepress?
Hi Robert,
404 page has no column options activated by default, do you have any custom function added to your site?
Let me know :)
I installed a custom 404 page plugin and that fixed it right up after I added a custom 404 page.
I see, plugin conflicts :)
Glad you figured it out!