Content blocks
Reusable content sections: CVPs, callouts, legal copy, image + text, and text blocks.
Content blocks
Description
Content blocks are the general-purpose page body sections used across Q Card and Q Mastercard pages. They cover customer value propositions (CVPs), callout bands, legal copy, image + text rows, and standalone text blocks.
How to edit
- Go to Elementor → Editor → Templates.
- Search for
Content(or a word from the specific template name below). - Open the template and edit the content and widgets directly.
- Save, then check a page that uses the template.
Variants
Value propositions
| Template | What it is |
|---|---|
CK – Content – CVPs | Carousel of 2–4 value propositions |
CK – Content – CVPs Dark | The same carousel on a maroon background |
Callout and legal
| Template | What it is |
|---|---|
CK – Content – Callout | Single row band with an image, heading, and button |
CK – Content – Legal Copy | Fine print, terms, and disclosure text |
Image + text rows
| Template | What it is |
|---|---|
CK – Content – Image+Text – Text + Button | Heading, copy, and a button beside an image |
CK – Content – Image+Text – Bullet points | Heading and a bulleted list beside an image |
CK – Content – Image+Text – Eyebrow + Features | Eyebrow label and a feature list beside an image |
Text blocks
| Template | What it is |
|---|---|
CK – Content – Text Block – Title | Heading only |
CK – Content – Text Block – Title + subcopy | Heading with body copy |
CK – Content – Text Block – Title + subtitles | Heading with subheadings |
CK – Content – Text block – Title + copy centred | Centred heading and copy |
CK – Content – Text Block – Image | Heading and copy with an image |
CK – Content – Text Block – Video | Heading and copy with a video |
CVPs
- Displays 2–4 customer value propositions as carousel slides.
- The number of visible slides is set by the script below, based on screen size and how many slides there are: 1.4 on mobile, 2 on tablet, and up to 4 on desktop (or fewer if there are fewer than four slides).
CK – Content – CVPs Darkis the maroon background version, which switches the text and bullets to white. It is the same carousel with thedarkclass added tock-content__cvps.
Callout
- A single row with an image, a heading, and a call-to-action button.
- On desktop the button sits to the right of the content. On mobile it stretches full width underneath.
- Supports Q Card and Q Mastercard switching. Add the content for each product to
ck-content__qcardandck-content__qmastercard, and whichever version does not match the page's product type is hidden automatically.
Legal copy
- Used for fine print, terms, and disclosure text.
- Text always displays at 14px in grey, regardless of the size set in the editor, so legal copy stays consistent across the site.
- Bulleted and numbered lists are supported.
Image + text
- A two-column row with text on one side and an image on the other.
- On desktop the text column is capped at 558px wide. On mobile it uses the full width.
- Supports a small eyebrow label above the heading, body text, a pill-style icon list, a plain icon list, and a button.
- Pills display as rounded chips with a 24px icon. The plain list uses 20px icons and no chip background.
- On mobile, pills stack vertically and the button stretches full width.
Text block
- A centred text block, constrained to 886px wide.
- There is a separate template for each combination of heading, subcopy, subtitles, image, and video, so pick the one that matches the layout you need rather than adding or removing widgets.
- Images and video have rounded corners and display at 310 × 204px on desktop.
CK – Content – Text block – Title + copy centredis the centred version. It centres the text, displays lists as centred bullet rows, and increases body copy to 18px on desktop (back to 16px on mobile), using theck-content__centredclass.
Classes
Primary classes used by the content components:
| Class | What it's for |
|---|---|
ck-content | Main wrapper for all content sections |
ck-content__carousel | Carousel wrapper |
ck-content__cvps | CVPs slider — add dark for the maroon variant |
ck-content__cvp | A single CVP slide |
ck-content__title | CVP title |
ck-content__callout | Callout band |
ck-content__qcard / ck-content__qmastercard | Product-specific callout content |
ck-content__legal-copy | Legal and small-print block |
ck-content__image-text | Image + text row |
ck-content__content | Text column container |
ck-content__eyebrow | Small label above the heading |
ck-content__text | Body text |
ck-content__pills | Pill-style icon list |
ck-content__list | Plain icon list |
ck-content__text-block | Standalone text block |
ck-content__centred | Centred text-block variant |
ck-content__subtitle | Text-block subtitle |
ck-content__title-subtitles | Title and subtitles group |
ck-content__image / ck-content__video | Media wrappers in a text block |
ck-content__text-button / ck-content__bullet-points | Mobile spacing modifiers for image + text |
ck-post-content | Post and article bodies |
No IDs are used by the content components.
Styling is done through a combination of the built-in page builder options as well as custom CSS where needed.
Scripts
Both scripts below are added using the HTML editor template.
CVPs carousel
Sets how many slides are visible based on screen size and slide count.
<script>
(() => {
document.addEventListener("DOMContentLoaded", function () {
let hasAppliedScroll = false;
function handleContentCVPScroll() {
const cvpsSlider = document.querySelectorAll(
".ck-content__cvps .swiper",
);
cvpsSlider.forEach((slider) => {
const totalSlides =
slider.querySelectorAll(".swiper-slide").length;
if (slider && slider.swiper) {
if (window.innerWidth <= 767) {
slider.swiper.params.slidesPerView = 1.4;
} else if (window.innerWidth <= 1023) {
slider.swiper.params.slidesPerView = 2;
} else {
slider.swiper.params.slidesPerView =
totalSlides <= 4 ? totalSlides : 4;
}
slider.swiper.update();
if (!hasAppliedScroll) {
window.removeEventListener(
"scroll",
handleContentCVPScroll,
);
hasAppliedScroll = true;
}
}
});
}
window.addEventListener("scroll", handleContentCVPScroll);
window.addEventListener("resize", handleContentCVPScroll);
});
})();
</script>Callout product toggle
Switches the page between Q Card and Q Mastercard when a callout button is clicked.
<script>
(() => {
document.addEventListener("DOMContentLoaded", () => {
const qmastercardToggles = document.querySelectorAll(
".ck-content__qmastercard .elementor-button",
);
const qcardToggles = document.querySelectorAll(
".ck-content__qcard .elementor-button",
);
qmastercardToggles.forEach((toggle) => {
toggle.addEventListener("click", (e) => {
e.preventDefault();
document.body.setAttribute("data-page-type", "qcard");
});
});
qcardToggles.forEach((toggle) => {
toggle.addEventListener("click", (e) => {
e.preventDefault();
document.body.setAttribute("data-page-type", "qmastercard");
});
});
});
})();
</script>