Archived topic
404 page full width
6 replies · Started by sjoerd89 on April 21, 2017
I was wondering how i could make the 404 page become full width. At the moment it looks like it uses the layout with a sidebar but i am not using a sidebar in there. Hope this made any sense ;). Just to show you what i mean https://i.imgur.com/AzD0Oup.jpg
Thanks and have a great day all
Hi there,
Any chance you can link me to that page?
Thanks!
You can use the sidebar layout filter: https://docs.generatepress.com/article/sidebar-layout/#using-a-function
You would use the is_404() conditional.
the page is http://www.zilvertron.com/23123213213213 just a random 404 page so you can see what i mean
-edit- working with that conditional did the job! Php is a lot of fun when you start understanding it ;)
Tom's solution should work.
Let me know if you can't get it work.
Got it Leo thanks for your guys help!
Glad we could help!