BYOB styles customization
You can style your BYOB (Build Your Own Bundle) page yourself with the BYOB settings in the Shopify theme editor, or ask our team to build a customization in your theme. This guide covers both.
New to BYOB? Start with How to create a Build Your Own Bundle (BYOB) on Shopify.
Jump to: Style it yourself | Customizations our team can set up | CSS variables reference
Style it yourself: how it works
The BYOB block in the Shopify theme editor includes color pickers, a roundness slider, a button style preset, and a Custom CSS textarea. Each layer builds on the previous one.
The priority order:
- Defaults - the widget ships with a black-and-white design
- Color pickers & roundness - visual settings in the theme editor (accent, text, background, secondary text, border, roundness)
- Button style preset - the "Button style" dropdown (filled/outline/minimal) adjusts button and chip appearance
- Custom CSS - anything in the textarea wins over all of the above
How to apply
Color pickers (recommended)
In the Shopify theme editor:
- Go to Theme > Customize > App embeds > BYOB
- Scroll to the Colors section
- Use the color pickers and roundness slider to match the store theme
- Save

Available pickers:
| Setting | Default | What it controls |
|---|---|---|
| Accent color | #000000 |
Buttons, selected chips, and accent borders |
| Text color | #000000 |
Main text and headings |
| Background color | #ffffff |
Cards, panels, and mini-cart background |
| Secondary text color | #808080 |
Descriptions, subtitles, and disabled states |
| Border color | #d1d1d1 |
Dividers, input borders, and separators |
| Roundness | 2px |
Corner radius for cards, buttons, and inputs (0–20px) |
Button style presets
The "Button style" dropdown in the block settings provides three built-in looks. Custom CSS overrides whichever preset is selected.
- Filled (default) - solid accent-colored buttons with surface-colored text
- Outline - transparent buttons with accent-colored borders, subtle hover
- Minimal - no borders, light gray background tints, understated look
Custom CSS (advanced)
For fine-grained control beyond the color pickers, use the Custom CSS textarea. Paste a CSS block targeting #byob-app-embed-wrapper :
#byob-app-embed-wrapper {
--byob-color-accent: #2563eb;
--byob-radius: 8px;
}
Only include the variables you want to change; everything else keeps its default or derives automatically.
Mini-cart sticky positioning (mobile)
By default, the BYOB mini cart / Add to Cart section sticks to the screen as customers scroll on mobile devices. If you'd rather it scroll with the page, or other page elements are covering it, you can change this.
This can be adjusted using Custom CSS in the same BYOB app embed settings described above (Theme > Customize > App embeds > BYOB > Custom CSS).
To remove the sticky behavior on mobile (the mini cart scrolls normally with the page instead of staying fixed):
@media (max-width: 768px) {
.byob-mini-cart.byob-bundle__cart {
position: relative;
}
}
To keep the mini cart sticky, but ensure it stays above other page content (useful if other elements are appearing on top of it while scrolling):
@media (max-width: 768px) {
.byob-mini-cart.byob-bundle__cart {
z-index: 9999999;
}
}
Only one of these should be applied at a time, depending on the desired behavior. Test on an actual mobile device after applying either change, since sticky/positioning behavior can vary by theme.
Product description truncation
The product description text shown in the BYOB widget is automatically truncated using CSS line-clamp. The defaults differ by context:
Area | Variable | Default Product selector | --byob-modal-description-clamp | 6 (first 6 lines) Mini cart (mobile) | --byob-mobile-description-clamp | 2 (first 2 lines) Mini cart (desktop) | n/a | No limit (full text)
To customize, set these variables in the Custom CSS textarea. For example, to show the full description in the product selector and keep mobile at 2 lines:
#byob-app-embed-wrapper {
--byob-modal-description-clamp: none;
--byob-mobile-description-clamp: 2;
}
To limit the product selector to 3 lines instead of 6:
#byob-app-embed-wrapper {
--byob-modal-description-clamp: 3;
}
Set the value to none to remove truncation entirely, or use any number to set the exact line count.
Note: BYOB shows the formatting from your Shopify product descriptions, such as headings, bold text, and bullet points. If headings look too large in the mini cart, add this to your Custom CSS:
#byob-app-embed-wrapper .byob-mini-cart__subtitle h2 {
font-size: 1em;
}
If you previously added the rich text snippet to your theme.liquid file, you can remove it. It's no longer needed.
Recipes
Quick rebrand (just set 2 variables)
#byob-app-embed-wrapper {
--byob-color-accent: #2563eb;
--byob-radius: 10px;
}
This updates buttons, selected chips, accent borders, and the disabled button tint, all from one color.
Match a store theme
Find the store's colors in the Shopify theme settings or by inspecting the storefront. Map them like this:
| Store setting | BYOB variable |
|---|---|
| Button color | --byob-color-accent |
| Text color | --byob-color-text |
| Background color | --byob-color-surface |
| Button corner radius | --byob-radius |
Shopify themes store colors as RGB triplets (e.g. 155,4,111 ). You can use them directly with rgb() :
#byob-app-embed-wrapper {
--byob-color-accent: rgb(155, 4, 111);
--byob-color-text: rgb(46, 42, 57);
--byob-color-surface: rgb(253, 251, 247);
--byob-radius: 10px;
}

Terracotta warm
Earthy, warm palette with rounded corners:
#byob-app-embed-wrapper {
--byob-color-text: #3b2820;
--byob-color-surface: #faf6f1;
--byob-color-accent: #c2593a;
--byob-color-text-muted: #8a7468;
--byob-color-border: #d9c8bc;
--byob-radius: 15px;
}

Royal purple
Rich purple accent with a soft lavender surface:
#byob-app-embed-wrapper {
--byob-color-text: #2d1b4e;
--byob-color-surface: #f5f0fa;
--byob-color-accent: #7c3aed;
--byob-color-text-muted: #8b7a9e;
--byob-color-border: #d4c5e8;
--byob-radius: 0px;
}

Pastel pop
Playful pastel mint surface with bold dark accents and thick outlined buttons. Use the Outline button style preset alongside these variables:
#byob-app-embed-wrapper {
--byob-color-text: #211f1f;
--byob-color-surface: #e3f8e8;
--byob-color-accent: #211f1f;
--byob-color-text-muted: #5a7a60;
--byob-color-border: #b8e6c1;
--byob-btn-primary-border: 2px solid #211f1f;
--byob-option-bg: #fef3d0;
--byob-option-border: 2px solid #211f1f;
--byob-option-selected-bg: #f9c8d0;
--byob-option-selected-color: #211f1f;
--byob-option-selected-border: 2px solid #211f1f;
--byob-radius: 8px;
}

Override a derived value
If the automatic muted text color isn't right, override just that one:
#byob-app-embed-wrapper {
--byob-color-accent: #9b046f;
--byob-color-text-muted: #8b7f96;
}
The rest still derives from the core colors; only the overridden variable uses the explicit value.
Tips
- Start with the color pickers - most stores only need to set the accent, text, and background colors in the theme editor. No CSS needed.
- Use Custom CSS for fine-tuning - override specific button, chip, or hover variables when the pickers aren't enough.
- Keep contrast accessible - when setting
--byob-color-accent, make sure the surface color contrasts enough to be readable as button text (dark accent + light surface works best). - Layout settings live in the same place: image ratio, cart position, sticky cart on desktop, horizontal margins, and picker columns are all in the BYOB block settings in the theme editor.
Need something these settings can't do? See Customizations our team can set up.
Customizations our team can set up
Our team can also customize how your BYOB page looks and works, beyond what the theme editor settings and Custom CSS can do. These are optional changes we make in your theme. The list below covers customizations we've already set up for other merchants.
Finding products
- A search box so shoppers can find products by name inside the bundle builder.
- Filters that narrow the product grid by collection, product type, or another attribute you choose.
- Headings that group the product grid into categories, such as Men's and Women's.
- Hiding out-of-stock items instead of showing them greyed out.
- A BYOB widget added in a normal product page as an upsell without leaving the page.

Images and product cards
- An image or gallery at the top of the BYOB page, such as a photo of the finished box.
- Image zoom on product cards.
- Larger product images on mobile.
- Color or image swatches in place of dropdowns when shoppers pick a variant.
- Buttons instead of dropdowns for options like size.
- Hiding individual product prices, or showing them only to logged-in customers.
- A "From" price for the bundle on collection pages and in search results.
Page layout
- A BYOB layout built from your theme's own product page elements, so it matches the rest of your store.
- A full-width BYOB page.
- Moving the product description above or below the product grid.
- Restyled pack size selectors, including a short description for each pack.
- Mobile adjustments, such as a sticky "Add to cart" button or a two-column product grid.
Selection rules
Section limits (like at least 2 snacks and no more than 2 drinks), no-duplicate rules, and caps on a single product don't need a customization. You can set those yourself, see BYOB validation rules. Our team can set up rules that go further:
- Requiring shoppers to finish one section before they pick from the next.
- A shared limit across products in different sections, such as no more than 2 premium items when they sit in several sections.
- Switching pack sizes automatically based on what the shopper picks.
- A minimum spend the bundle has to reach before it can be added to cart.
- Adding a required packaging item, like a gift box, to every bundle automatically. See How to auto-add a required packaging item to a BYOB bundle.
- Selecting the subscription option by default when your products have selling plans.
Cart and checkout
- Opening or refreshing your cart drawer when a BYOB bundle is added, including cart apps like Upcart and Monster Cart.
- Listing the shopper's chosen items, with images, in the cart drawer.
- Replacing "Quick add" buttons on collection pages with a button that opens the BYOB page.
- Triggering your theme's free gift or other cart offers after a bundle is added.
Language
- Translating fixed BYOB labels, such as "Subtotal" and the discount text, into your store's languages. See Translate BYOB bundle builder elements.
Request a customization
To set up any of these, or something similar that isn't listed, contact our support team through the chat in the Simple Bundles app or at hello@simplebundles.io. Include your store URL and a short description or screenshot of what you'd like. We build customizations on a copy of your live theme first, so you can preview them before they go live.
CSS variables reference
The full list of CSS variables you can set in the Custom CSS box. Most stores only need the four core variables.
Core variables
Setting these automatically updates the rest of the widget. Most customizations only need these. All are controllable via the color pickers.
| Variable | Default | What it controls |
|---|---|---|
--byob-color-text |
#000 (black) |
Main text throughout the widget |
--byob-color-surface |
#fff (white) |
Background for cards, modals, mini-cart panel. Also used as button text color on accent backgrounds. |
--byob-color-accent |
#000 (black) |
The main brand color. Controls button backgrounds, selected chip fills, accent borders, and the disabled button tint. Changing this one variable rebrands most of the widget. |
--byob-radius |
2px |
Border radius for all rounded elements: cards, buttons, modals, inputs. Use 0 for sharp corners, 8px or higher for rounded. |
Note: Horizontal margins and product grid columns are already controlled by the block's slider and dropdown settings. No need to set those via CSS.
Derived variables
These are calculated automatically from the core variables above. They can also be set directly via the secondary text and border color pickers. Only set them in Custom CSS if you need values different from both the pickers and the automatic derivation.
| Variable | Derived from | What it controls |
|---|---|---|
--byob-color-text-muted |
50% text + surface | Secondary text: descriptions, placeholders, subtitles |
--byob-color-border |
18% text + surface | Subtle borders: dividers, quantity inputs, separators |
--byob-color-disabled |
30% text + surface | Disabled button text and icons |
Buttons
| Variable | Derived from | What it controls |
|---|---|---|
--byob-btn-primary-bg |
accent | Button background color |
--byob-btn-primary-color |
surface | Button text color |
--byob-btn-primary-border |
none |
Button border (e.g. 2px solid #333) |
--byob-btn-primary-hover-bg |
same as bg | Hover background color |
--byob-btn-primary-hover-color |
same as text | Hover text color |
--byob-btn-primary-hover-border |
same as border | Hover border |
--byob-btn-primary-hover-opacity |
0.92 |
How much the button fades on hover. Set to 1 if using a distinct hover background. |
--byob-btn-disabled-bg |
25% accent + surface | Disabled button background, a tinted version of the accent color |
--byob-btn-disabled-color |
disabled | Disabled button text |
--byob-btn-disabled-border |
none |
Disabled button border |
Pack option chips
The pack size selector buttons (e.g. "Pack of 4", "Pack of 6").
| Variable | Derived from | What it controls |
|---|---|---|
--byob-option-bg |
surface | Unselected chip background |
--byob-option-color |
text | Unselected chip text |
--byob-option-border |
accent | Unselected chip border |
--byob-option-font-weight |
550 |
Unselected chip font weight |
--byob-option-selected-bg |
accent | Selected chip background (filled with accent) |
--byob-option-selected-color |
surface | Selected chip text |
--byob-option-selected-border |
accent | Selected chip border |
--byob-option-selected-font-weight |
550 |
Selected chip font weight |