[Resolved] 404 page full width

Home Forums Support [Resolved] 404 page full width

Home Forums Support 404 page full width

  • This topic has 6 replies, 3 voices, and was last updated 7 years ago by Leo.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #308498
    sjoerd89

    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

    #308579
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link me to that page?

    Thanks!

    #308620
    Tom
    Lead Developer
    Lead Developer

    You can use the sidebar layout filter: https://docs.generatepress.com/article/sidebar-layout/#using-a-function

    You would use the is_404() conditional.

    #309513
    sjoerd89

    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 😉

    #309514
    Leo
    Staff
    Customer Support

    Tom’s solution should work.

    Let me know if you can’t get it work.

    #309517
    sjoerd89

    Got it Leo thanks for your guys help!

    #309674
    Leo
    Staff
    Customer Support

    Glad we could help!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.