marquee announcement

Topic summary

Main issue: keep a marquee/announcement bar visible only on the homepage; existing code changes aren’t taking effect.

  • Store details shared: https://3f7da4-e5.myshopify.com (password may be required if enabled).
  • Proposed solutions:
    • Wrap the announcement bar code with a conditional in the theme files: {% if template == ‘index’ %} … {% endif %} so it renders only on the home (index) template. Suggested files: header.liquid or theme.liquid.
    • CSS fallback: hide #shopify-section-marquee by default, then display it only when template == ‘index’ by placing CSS inside the conditional.
    • Placement guidance: add the conditional right after the tag in theme.liquid if needed.
  • Note: One snippet shared contained only the conditional wrapper; the actual announcement bar markup must be inside it to work.

Latest update: the user reports the code still doesn’t work and offers collaborator access for direct assistance.

Status: Unresolved/ongoing. Awaiting hands-on access or theme-specific troubleshooting to identify why the conditional/CSS isn’t applying.

Summarized with AI on December 21. AI used: gpt-5.

https://3f7da4-e5.myshopify.com here is my store url thank you.