Archived topic
Hide Header, Top bar and footer widgets on 404 page
3 replies · Started by Jennifer on December 17, 2020
Hello,
I am creating a crm site and do not want the public to have access to the primary menu, top bar or the footer widget section on the 404 page only. The bottom footer with copyright information is fine but I want the rest gone.
Can you please provide a code to add to my functions.php file to remove these items.
Thank you
Hi there,
you can use the Layout Element to disable elements and change the footer widgets to 0:
https://docs.generatepress.com/article/layout-element-overview/
Great, thank you!
You're welcome