Shopify Sidekick/Theme/Create an Announcement Bar
Task IntentTheme

Create an Announcement Bar

Add a top-of-page announcement bar with custom message, colors, and optional link.

What This Sidekick Query Does

Add a top-of-page announcement bar with custom message, colors, and optional link.

Prompt / Skill

Add an announcement bar to the very top of my store above the header. Display the message [ANNOUNCEMENT_TEXT]. Use [BACKGROUND_COLOR] as the bar background and [TEXT_COLOR] for the text. Make the text link to [LINK_URL] if clicked. Set the font size to [FONT_SIZE] pixels. Add a dismiss/close button on the right side so customers can hide it. The bar should be [BAR_HEIGHT] pixels tall and the text should be centered. Make it sticky so it stays visible when scrolling. On mobile, allow the text to wrap to two lines if needed.

Expected Output

Add a top-of-page announcement bar with custom message, colors, and optional link.

Tips to Improve Results

  1. 1

    Copy the prompt above

  2. 2

    Open Shopify Sidekick in your Shopify admin

  3. 3

    Paste the prompt and replace the bracketed placeholders with your details

  4. 4

    Review Sidekick's response and apply the suggestions

Sidekick Skills & Magic Prompt icon

Sidekick Skills & Magic Prompt

Create & manage AI skills for Sidekick. Discover skills from other merchants.