Archived topic
Full Width Block Element Hook
5 replies · Started by Christian on November 6, 2020
Hello!
I'm adding a custom 404 page using the Block Element > Custom Hook > Custom Hook Name: generate_do_template_part > Location 404 Template.
Is there a way to make it full width?
I've set the Container and Inner Container to Full width under "Layout" without any luck.🙂
Hi there,
create a Layout Element:
https://docs.generatepress.com/article/layout-element-overview/
You can set the Content to Full Width and set the 404 in the Display Rules location.
Nice. Working now🙂
Thanks, David. You're cool!
Glad to be of help!
Ahh.. Opposite for me. I was already using a Layout block and I just had to exclude the 404 Template to get a fixed width.
Don't quite get the custom hook but it works
Glad to hear that was of help