Image with Text
Editorial side-by-side image and text, pastes into Custom Liquid.
Live preview
See it in action.
Fully interactive, drag, click, scroll inside the frame, toggle to mobile.
About this block
A foundational content block, image on one side, headline + paragraph + CTA on the other. Toggle image position by changing one CSS class. Stacks cleanly on mobile.
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 |
|---|---|
| Image position | Change the section className from modblo-iwt--left to modblo-iwt--right. |
| Image | Replace the gradient .modblo-iwt__media with the commented-out <img> tag and your own image URL. |
| Eyebrow | Find the value in the code and change it directly. |
| Heading | Find the value in the code and change it directly. |
| Body text | Find the value in the code and change it directly. |
| Button label + URL | Find the value in the code and change it directly. |
SEO & accessibility notes
- Direction:rtl swap for right-aligned layout, no media query needed for the order swap.
- Aspect-ratio 4/5 on the image reserves space, no CLS during load.
- Falls back to a clean gradient placeholder if no image is set.
Related
