Shopify themes, liquid, logos, and UX
Hiya, I have an announcement bar in the homepage, but it is also showing in the prodcuts/collection pages which I do not want I only want it in the homepage is anyone able to help me fix this (using sense theme)
Solved! Go to the solution
This is an accepted solution.
Hello @createdbylove ,
Follow these steps:
1. Go to Online Store -> Theme -> Edit code
2. Open your theme.liquid file and search for </body>
Now just before to it add this code
{% if template.name != "index" %}
<style>
.announcement-bar-section{
display: none;
}
</style>
{% endif %}
Thanks
@createdbylove can you please share your website link?
Hi @createdbylove,
Can you kindly share your store link (with the password, if any) with us? We will check it and suggest you a solution if possible.
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕ .
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
You have my website url and password in a message I've sent you before. I have replied back to the previous message but haven't heard from you.
Hi @createdbylove, I checked my mailbox but I didn't see any message from you
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕ .
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
I sent you a message earlier I will send a message now
This is an accepted solution.
Hello @createdbylove ,
Follow these steps:
1. Go to Online Store -> Theme -> Edit code
2. Open your theme.liquid file and search for </body>
Now just before to it add this code
{% if template.name != "index" %}
<style>
.announcement-bar-section{
display: none;
}
</style>
{% endif %}
Thanks
Thanks so much!
Would you be able to help with me with another issue to do with the announcement bar? I would like it so it fits on top of the image banner, so the little bit of pink isn't showing please 🙂
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024