Customize Multi-Recipient Checkout Styling with CSS
Use CSS variables to match the multi-recipient checkout to your Shopify store's branding. Customize colors, fonts, spacing, buttons, cards, and layout.
Send To Many's multi-recipient checkout can be customized to match your store's look and feel. The most common options are app block settings in the theme editor, so you can change colors, font sizes, corner rounding, padding, and layout without writing any CSS. For anything those settings don't cover, about 75 CSS variables control layout, typography, colors, cards, form inputs, buttons, modals, and product cards.
Start with the Block Settings
Open the theme editor and select the Multi Recipient Cart v2 app block. Its settings are grouped under Layout, Colors & Typography, Cards, and Buttons & Form inputs:
- Layout: page width, right column width, space between columns, sticky sidebar offset, block padding
- Colors & Typography: background color, text color, body text color, accent color, error color, card and input border color, heading font size, input and button font size
- Cards: border radius, padding, product image height
- Buttons & Form inputs: input border radius, button border radius, secondary button background and text color
Many other values are derived from these. The heading font size sets every heading, body, and caption size. The accent color sets primary buttons, links, focus rings, and the selected card outline, and the primary button text switches between white and black for contrast. The background color sets input backgrounds and nested card backgrounds.
If you need finer control, override the CSS variables below.
Where to Add Custom CSS
Global changes (Theme Settings → Custom CSS)
Use this if the checkout appears on more than one page and you want the same styling everywhere.
- Go to Online Store → Themes → Customize.
- Open Theme Settings → Custom CSS.
- Add your variables inside a
body .s2m-mc-rootblock:body .s2m-mc-root {--s2m-mc-product-image-height: 200px;--s2m-mc-heading-font-size: 24px;--s2m-mc-button-primary-bg: #1a1a1a;} - Click Save and preview a page with the checkout.
.s2m-mc-root, not :rootThe checkout sets its variables on the .s2m-mc-root element, so overrides on :root have no effect. In Theme Settings, start the selector with body (body .s2m-mc-root). The block outputs its own defaults further down the page, and the extra body makes sure your values win.
Page-specific changes (Section → Custom CSS)
Use this to style the checkout on a single page, or to target specific elements that the variables don't cover.
- In the theme editor, open the page where the checkout block is installed.
- Select the section that contains the block (usually Apps), not the block itself.
- Scroll down to Custom CSS.
- Add your overrides. Here,
.s2m-mc-rooton its own is enough, because Shopify scopes section CSS to that section:.s2m-mc-root {--s2m-mc-accent-color: #2d5fff;}div.s2m-mc-recipient-card {padding: 24px;} - Click Save.
This is especially useful when you have multiple checkout configurations and want each page to look different. Checkout class names all start with s2m-mc-.
Open your browser's Developer Tools → Elements → Styles, select the element with the s2m-mc-root class, and edit its variables to preview changes before saving them in the theme editor.
Common Customization Examples
These examples use the plain .s2m-mc-root selector for section Custom CSS. In Theme Settings → Custom CSS, write body .s2m-mc-root instead.
Match your brand color
.s2m-mc-root {
--s2m-mc-accent-color: #2d5fff;
}
This one change updates primary buttons, links, focus rings, and the selected card outline. The primary button text color adjusts automatically for contrast.
Product photos that fill the card
By default, product images use contain, which shows the whole image and can leave empty space around it. To have each photo fill the top of its product card edge to edge, like a storefront collection grid:
.s2m-mc-root {
--s2m-mc-product-image-object-fit: cover;
}
cover fills the frame and crops the edges of images that don't match its shape. To change how tall the photo area is, set --s2m-mc-product-image-height too.
Custom font and text sizing
.s2m-mc-root {
--s2m-mc-font-family: "Georgia", serif;
--s2m-mc-heading-font-size: 26px;
--s2m-mc-body-font-size: 16px;
}
Wider layout with more sidebar space
.s2m-mc-root {
--s2m-mc-page-width: 1200px;
--s2m-mc-sidebar-width: 36%;
--s2m-mc-layout-gap: 32px;
}
Rounded design
.s2m-mc-root {
--s2m-mc-button-border-radius: 24px;
--s2m-mc-input-border-radius: 12px;
--s2m-mc-card-border-radius: 24px;
--s2m-mc-card-secondary-border-radius: 16px;
}
More room below a sticky header
The order summary sidebar stays in view as shoppers scroll. The checkout detects common sticky theme headers and keeps the sidebar below them. If the sidebar still sits too close to your header, increase the offset:
.s2m-mc-root {
--s2m-mc-sticky-top: 48px;
}
All Available CSS Variables
Defaults shown are for the default block settings. Values marked "derived" are calculated from other settings, so they follow your theme editor changes unless you override them.
Layout
--s2m-mc-page-width /* Default: 100% */
--s2m-mc-block-padding /* Default: 20px */
--s2m-mc-bg-color /* Default: #ffffff */
--s2m-mc-layout-gap /* Default: 24px (space between main column and sidebar) */
--s2m-mc-sidebar-width /* Default: 32% */
--s2m-mc-sidebar-stack-gap /* Default: 24px (vertical gap between sidebar cards) */
--s2m-mc-sticky-top /* Default: 24px (gap above the sticky sidebar) */
Typography
--s2m-mc-font-family /* Default: inherit (uses your theme font) */
--s2m-mc-heading-font-size /* Default: 22px (other sizes derived from this) */
--s2m-mc-heading-1-font-size /* Default: 28px (heading × 1.25) */
--s2m-mc-heading-3-font-size /* Default: 18px (heading × 0.83) */
--s2m-mc-heading-6-font-size /* Default: 12px (heading × 0.55) */
--s2m-mc-heading-font-weight /* Default: 600 */
--s2m-mc-body-font-size /* Default: 14px (heading × 0.67) */
--s2m-mc-caption-font-size /* Default: 11px (heading × 0.5) */
Colors
--s2m-mc-header-text-color /* Default: #363636 (headings, input text) */
--s2m-mc-text-color /* Default: #727272 (body text, labels) */
--s2m-mc-text-color-muted /* Default: derived (text color lightened 7%) */
--s2m-mc-accent-color /* Default: #724dff (primary buttons, links, focus rings, selected outline) */
--s2m-mc-link-color /* Default: same as accent color */
--s2m-mc-link-hover-color /* Default: derived (accent color darkened 10%) */
--s2m-mc-error-color /* Default: #c10007 */
--s2m-mc-success-color /* Default: #15803d */
--s2m-mc-warning-color /* Default: #b45309 */
Cards
--s2m-mc-card-bg /* Default: same as background color */
--s2m-mc-card-border-color /* Default: #e5e7eb */
--s2m-mc-card-border-radius /* Default: 20px (top-level cards) */
--s2m-mc-card-padding /* Default: 20px */
--s2m-mc-card-padding-mobile /* Default: 10px (card padding × 0.5) */
--s2m-mc-card-secondary-border-radius /* Default: 10px (nested cards, card radius ÷ 2) */
--s2m-mc-card-secondary-bg /* Default: derived (background color darkened 5%) */
Product Cards
--s2m-mc-product-image-height /* Default: 120px */
--s2m-mc-product-image-object-fit /* Default: contain (use cover to fill and crop) */
--s2m-mc-product-title-font-size /* Default: 14px (heading × 0.65) */
--s2m-mc-product-description-font-size /* Default: 12px (heading × 0.55) */
--s2m-mc-product-add-button-bg /* Default: derived (background color darkened 3%) */
--s2m-mc-product-add-button-hover-bg /* Default: derived (background color darkened 6%) */
Form Inputs
--s2m-mc-input-bg /* Default: derived (background color darkened 3%) */
--s2m-mc-input-border-color /* Default: #e5e7eb (same as card border) */
--s2m-mc-input-border-width /* Default: 1px */
--s2m-mc-input-border-radius /* Default: 5px */
--s2m-mc-input-text-color /* Default: same as header text color */
--s2m-mc-input-focus-color /* Default: same as accent color */
--s2m-mc-input-font-size /* Default: 14px */
--s2m-mc-input-padding-block /* Default: 5px */
--s2m-mc-input-padding-inline /* Default: 10px */
--s2m-mc-label-font-size /* Default: 12px (input font × 0.85) */
--s2m-mc-label-color /* Default: same as body text color */
Buttons
--s2m-mc-button-font-size /* Default: 14px (same as input font) */
--s2m-mc-button-large-font-size /* Default: 15px (input font × 1.1) */
--s2m-mc-button-small-font-size /* Default: 13px (input font × 0.9) */
--s2m-mc-button-extra-small-font-size /* Default: 11px (input font × 0.78) */
--s2m-mc-button-line-height /* Default: 1.5 */
--s2m-mc-button-font-weight /* Default: 500 */
--s2m-mc-button-border-radius /* Default: 5px */
--s2m-mc-button-block-padding /* Default: 5px */
--s2m-mc-button-inline-padding /* Default: 20px */
--s2m-mc-button-large-block-padding /* Default: 10px */
--s2m-mc-button-large-inline-padding /* Default: 20px */
--s2m-mc-button-small-block-padding /* Default: 2.5px */
--s2m-mc-button-small-inline-padding /* Default: 10px */
--s2m-mc-button-primary-bg /* Default: same as accent color */
--s2m-mc-button-primary-text /* Default: #ffffff or #000000 (picked for contrast) */
--s2m-mc-button-primary-hover-bg /* Default: derived (accent color lightened 5%) */
--s2m-mc-button-secondary-bg /* Default: #1e1e1e */
--s2m-mc-button-secondary-text /* Default: #ffffff */
--s2m-mc-button-secondary-hover-bg /* Default: derived (secondary background lightened 5%) */
--s2m-mc-button-tertiary-bg /* Default: same as background color */
--s2m-mc-button-tertiary-text /* Default: same as body text color */
--s2m-mc-button-tertiary-border-color /* Default: derived (card border darkened 10%) */
--s2m-mc-button-tertiary-hover-bg /* Default: derived (background color darkened 5%) */
Modal
--s2m-mc-modal-bg /* Default: same as background color */
--s2m-mc-modal-border-radius /* Default: same as card border radius */
--s2m-mc-modal-overlay-bg /* Default: rgba(15, 23, 42, 0.45) */
Related
- Custom scripts: Stable selectors, events, and hooks for changes beyond CSS
- Installing in your theme: Every block setting explained
Need More Help?
If you need help finding the right variable for a specific element, contact our support team at help@evenbetterapps.com.
Still have a question?
Ask Manny, the Send To Many bot, about “Customize Multi-Recipient Checkout Styling with CSS” or anything else in the docs.