Hello, I have enabled the newsletter popup on my website. However, it pops up every time you go on a page, and i would like it to be only on the home page. Please note that I am not familiar with coding whatsoever, so if you have a solution i would need instructions. Thank you
Hey @user50
Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
Best Regards,
Moeed
here is the link to the website
After having a look at the website, what I can see is that the newsletter popup doesn’t loads every time and after closing it once, it doesn’t loads again on another page. Just to confirm, is it showing you every time when you switch to a different page?
Best,
Moeed
It only happens once in a while, it’s not a big deal. However, is it possible to make it appear only when on the home page? For example, if i send a link to ‘‘About Us’’ to someone, the pop up will appear. I would like it to be only activated on the Home page
Hi @user50 ,
Yes! It is possible to show the pop-up only at the home page. But I want to know which app you are using? Is it using code or any app? If you are doing with code, we need to customize the code.
I am using the shopify pop up, no application
Of course! For that just simply do this mentioned below
Follow these Steps:
- Go to Online Store
- Edit Code
- Find theme.liquid file
- Add the following code in the bottom of the file above </ body> tag
{% if template.name != "index" %}
<style>
div#shopify-section-newsletter-popup {
display: none !important;
}
</style>
{% endif %}
RESULT:
If I managed to help you then a Like would be truly appreciated.
Best,
Moeed
Correction, it did work. I didn’t save the file.
Thank you for your help
Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, don’t forget to mark it as Solution and a Like would be greatly appreciated.
Warmly,
Moeed
Great job enabling the newsletter popup that’s already a solid step toward growing your list!
If it’s popping up on every page, you’ll probably need to tweak the display settings or add a small condition so it only shows on the home page. Don’t worry it can be done without deep coding knowledge.
Some themes or apps have a setting for this, but if yours doesn’t, a tiny bit of guidance might be needed to add a home page only rule.
If you’re comfortable sharing your store URL and which popup tool or theme you’re using, I can try to guide you step-by-step
You’re not alone this is a super common one!

