Archived topic
Adding Newsletter SignUp form in footer
3 replies · Started by psychederik on October 1, 2021
Hello,
I am trying to add a Newsletter sign-up form in my footer and give it it's own row. I am using a Hook Element (generate_before_footer) to achieve this. However, I am not able to style it to the right-half of my container in order to add the title text to the left of it in their own separate containers.
Is there a better way to execute this? I tried using widgets but I think maybe only 3 widgets are enabled by the Niche theme-template?
I'm using WP Forms on the "Niche" theme-template.
Hi there,
instead of using the Hook Element, try using a Block Element, first block to add is a Container Block, which you can set its Inner width and padding. Then add your title using a Headline Block and your form shortcode using the Shortcode Block inside that container.
Absolute game changer!
Not only did your response resolve my issue but it also gave me a better understanding on how to use GP's Elements feature.
Thanks for your help, David.
Really glad to hear that