Goal: adjust the Dawn theme’s announcement bar to use a larger, bold font on mobile only (leaving desktop unchanged).
Proposed solutions:
Add custom code in theme.liquid before the tag. The reply references this approach but the actual code snippet wasn’t included; a screenshot indicates the visual result worked for the responder.
Add CSS in the theme’s main CSS file (base.css/style.css/theme.css): apply a mobile-only media query (max-width: 749px) targeting the announcement bar message selector (p.announcement-bar__message.h5) to increase font-size (e.g., 1.5rem) and set font-weight to 900. This confines the change to mobile widths and makes the text bold.
Key details:
Uses a CSS media query to scope changes to mobile screens; increasing font-size to a relative unit (rem) and font-weight to 900 achieves the requested look.
Images were provided to show the desired before/after result.
Status: no confirmation from the original poster that a solution was implemented; discussion appears open without a verified resolution.
Summarized with AI on December 15.
AI used: gpt-5.
From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
Find the theme that you want to edit and click on “Actions” and then “Edit code”.
In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (max-width: 749px){
p.announcement-bar__message.h5 {
font-size: 1.5rem;
font-weight: 900;
}
}