Highlight Banner
Compact attention strip with icon, headline, and CTA.
Live preview
See it in action.
Fully interactive, drag, click, scroll inside the frame, toggle to mobile.
About this block
A small banner block for between-section attention: free-shipping reminders, return policy, gift-wrap callouts, member benefits. Inline icon plus headline plus subline plus optional CTA. Stacks the CTA full-width on mobile. Pure HTML/CSS, zero JavaScript.
Install in 90 seconds
- 01
Open your Shopify admin and go to Online Store → Themes → Customize.
- 02
On any template, click "Add section" where you want the block to appear.
- 03
Choose "Custom Liquid" from the section list.
- 04
Paste the code from this page into the Custom Liquid setting and click Save.
- 05
Edit text and colors directly in the code (look for the comments marking edit points).
The code
Paste the snippet below into the Custom Liquid setting on a Custom Liquid section in your Theme Editor. Edit text, colors, and links directly in the code, every editable spot is marked with an EDIT comment.
What you can customize
Custom Liquid sections don't expose theme-editor settings, so customization happens in the code. Here's what to edit:
| What | How to edit |
|---|---|
| Icon SVG | Replace the inline SVG with any 24x24 icon you want. |
| Headline | Find the value in the code and change it directly. |
| Subline | Find the value in the code and change it directly. |
| CTA label and link | Find the value in the code and change it directly. |
| Bar / icon / CTA colors | Find the value in the code and change it directly. |
SEO & accessibility notes
- Pure semantic HTML, fully crawlable.
- Zero JavaScript, no layout shift on load.
- Real <a> for the CTA, native keyboard navigation.
- Stacks gracefully on mobile via flex-wrap, no media-query gymnastics.
