Archived topic
Container under the shop items
7 replies · Started by Matthieu on November 4, 2020
Hi,
Quick question about Generatepress / woocommerce
I have a shop page see link below. I would like to add text on this page via containers, below the articles but when I add text it goes at the top of the page and not below the articles. A solution ?
Thanks
Hi there,
Not sure if I fully understand.
Where are you adding the text currently?
On this page in question which is a "shop" page when I wish to modify the page, the articles do not appear. So when I create a container it is directly placed at the top of the page.
Try using the generate_after_main_content hook with a hook element:
https://docs.generatepress.com/article/hooks-element-overview/
https://docs.generatepress.com/article/hooks-visual-guide/
Hello I use the "generate_after_main_content" hook, it works but there is no "make page full with" setting with this element so my text is not in the same width as the rest of my containers
Thanks
What if you remove the 40px padding added to the GB container?
https://www.screencast.com/t/Cwu5G26cEiKJ
That's perfect, thank you so much !
No problem :)