LewisMC Posted July 3 Share Posted July 3 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 EllenMGregg 1 Link to comment
Web_Solutions Posted July 4 Share Posted July 4 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 EllenMGregg 1 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
LewisMC Posted July 4 Author Share Posted July 4 (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 July 4 by LewisMC link Link to comment
Web_Solutions Posted July 4 Share Posted July 4 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
LewisMC Posted July 4 Author Share Posted July 4 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 Web_Solutions Posted July 4 Solution Share Posted July 4 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; } LewisMC 1 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
EllenMGregg Posted August 14 Share Posted August 14 Hi, there. Where do we add the code? Is that the "usual" code-injection space? Thank you so much! Link to comment
tuanphan Posted August 17 Share Posted August 17 On 8/14/2024 at 9:51 PM, EllenMGregg said: Hi, there. Where do we add the code? Is that the "usual" code-injection space? Thank you so much! Website Tools > Custom CSS Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment