Announcement bar disapears after 3 second on laptop

Topic summary

A user reports an announcement bar disappearing after 3 seconds on laptop/desktop devices, while functioning correctly on mobile. The issue persists across different browsers and after clearing cache.

Proposed Solution:
A CSS fix was provided to address the problem:

  • Add custom CSS code to the theme settings (Online Store > Themes > Customize > Theme settings)
  • The code targets #shopify-section-announcement-bar with z-index: 99999

This solution aims to resolve both the disappearing announcement bar and an associated spacing issue that appears before the menu bar. The discussion appears resolved with a technical workaround, though no confirmation of implementation or success has been posted yet.

Summarized with AI on November 8. AI used: claude-sonnet-4-5-20250929.

Hi there,

I have an announcement properly set up but this one is not showing after the page is fully loaded.

It works properly on phone but not laptop. i try to clear the cache and different navigator browser. It leaves a ugly space before the menu bar.

Thank for your help

Website jolenesteahouse.com

Hi @JTH

You can solve it by adding this code to Custom CSS in your Online Store > Themes > Customize > Theme settings

#shopify-section-announcement-bar { z-index: 99999; }