A store owner is experiencing an issue where a coupon/discount bar briefly appears at the top of product pages before disappearing, and wants to remove it completely.
Proposed Solutions:
Multiple developers offered CSS-based fixes to hide the discount bar element:
Method 1: Add CSS code to the theme.scss.css file targeting #countdown_container with display: none !important
Method 2: Insert CSS code in the theme.liquid file before the </head> tag, targeting div#countdown_container.dtimer with display: none !important
All solutions follow a similar approach: accessing the theme code editor through Shopify Admin and adding CSS to permanently hide the countdown/discount container element. The issue appears to be a visibility timing problem with a promotional banner component that can be resolved through custom styling.
Summarized with AI on November 4.
AI used: claude-sonnet-4-5-20250929.
You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code before the tag