Jump to content

How do I add newsletter signup form to the bottom of each blog post automotically?

Go to solution Solved by Web_Solutions,

Recommended Posts

Hi, on my website I have a newsletter signup form which I'd like to be included at the bottom of each blog post automatically. In other words, each time I create and post a blog post, the newsletter block will appear at the end of the post. The newsletter block I'm trying to add in is the one on the homepage. Any advice would be greatly appreciated. Cheers

Link to comment
5 hours ago, LewisMC said:

Hi, on my website I have a newsletter signup form which I'd like to be included at the bottom of each blog post automatically. In other words, each time I create and post a blog post, the newsletter block will appear at the end of the post. The newsletter block I'm trying to add in is the one on the homepage. Any advice would be greatly appreciated. Cheers

You can add the newsletter signup form on the footer. After send me the website link. I'll provide code for hide the newsletter signup form on other pages except on the single blog post pages

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment
Posted (edited)
3 hours ago, Web_Solutions said:

You can add the newsletter signup form on the footer. After send me the website link. I'll provide code for hide the newsletter signup form on other pages except on the single blog post pages

Okay great! The form is now in the footer at https://www.lewiscooper.net

Edited by LewisMC
link
Link to comment
7 hours ago, LewisMC said:

Okay great! The form is now in the footer at https://www.lewiscooper.net

Here is the code. If you add a separate section for the newsletter signup form then it will be better. Because now there has a blank section on the footer. Let me know after add the separate then I will provide new code.

#block-a77aad4ffbf7bbedc0d3 {
    display: none !important;
}
.collection-65bd33594ce43d1a81aea216.view-item #block-a77aad4ffbf7bbedc0d3 {
    display: flex !important;
}

 

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment
2 hours ago, Web_Solutions said:

Here is the code. If you add a separate section for the newsletter signup form then it will be better. Because now there has a blank section on the footer. Let me know after add the separate then I will provide new code.

#block-a77aad4ffbf7bbedc0d3 {
    display: none !important;
}
.collection-65bd33594ce43d1a81aea216.view-item #block-a77aad4ffbf7bbedc0d3 {
    display: flex !important;
}

 

Thanks for the help! I've now added the block in a separate section now. What code should I add

Link to comment
  • Solution
34 minutes ago, LewisMC said:

Thanks for the help! I've now added the block in a separate section now. What code should I add

Here is the code.

[data-section-id="6686d1b920252878f753addd"] {
    display: none !important;
}
.collection-65bd33594ce43d1a81aea216.view-item [data-section-id="6686d1b920252878f753addd"] {
    display: flex !important;
}

 

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.