Newsletter Signup
Email capture form with consent text, pastes into Custom Liquid in the Theme Editor.
Live preview
See it in action.
Fully interactive, drag, click, scroll inside the frame, toggle to mobile.
About this block
A focused newsletter block with a real Shopify customer form, accent-colored CTA, GDPR-friendly consent text, and clean mobile stack. Drops into any Online Store 2.0 theme via the Custom Liquid section, no code editor needed.
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 |
|---|---|
| Heading | The <h2> text, find the EDIT heading comment. |
| Subtext | The <p class='modblo-news__sub'> content. |
| Email placeholder | Find the value in the code and change it directly. |
| Button label | Find the value in the code and change it directly. |
| Accent color | Look for /* EDIT accent */ and /* EDIT button color */. |
SEO & accessibility notes
- Uses Shopify's native customer form, wires into the customer record automatically.
- Real <input type='email'> with required attribute, works without JS.
- All styles are scoped under .modblo-news to avoid colliding with theme CSS.
