Archived topic
Make an element wider than container?
3 replies · Started by Kev on April 29, 2021
Hi,
I'm working on a post navigation element, but I want it to be wider than the container width. I got some help yesterday to make my nav bar wider than the width of my content, which worked great (link here) and I would now like to do the same with my post navigation so it's something like this:
Nav bar - 1200px
Content - 620px
Post navigation - 1200px
Footer content - 1200px
Is it possible for me to set something like this up in GP?
Thanks,
Kev
Hi there,
you can try out the new Block Element - Post Navigation - video showing how here:
https://www.youtube.com/watch?v=J-VIWJiJBDQ
The one difference is you will be able to change the Hook name to before_footer - this will place it outside the post content so it will be the same width as the header / footer.
I made the nav element with this very video - changing the hook did the trick. Thank you!
Glad to hear that!