Custom CSS and HTML let you make changes the Design settings can't. Use CSS to restyle parts of an offer, such as option titles, badges and spacing. Use HTML to add your own text, an image or a banner next to part of a widget.
Most stores don't need either. Try the brand style settings first.
Before you start
Turn on the Appstle Bundles app embed in your theme. It adds your CSS to your pages, and your offers need it to show.
For CSS, you need to know the class of the part you want to change. The steps below show how to find it.
Open Custom CSS and HTML
In your Shopify admin, open the Appstle Bundles app and click Design.
Under Store-wide settings, click Custom CSS and HTML.
The page has two cards, Custom CSS and Custom HTML. Click Save after any change. Click Discard to drop changes you haven't saved.
Add custom CSS
CSS you add here applies to every page of your store where Appstle Bundles runs. It changes anything your selectors match, not only offers.
Open Design → Custom CSS and HTML.
In the Custom CSS card, type your CSS.
Click Save.
Open the page of your store where the offer shows and check the result.
Style only one offer
Every offer has its own class, except Classic bundles and Product discounts. It starts with .ab-bundle-id- and ends with a short code. Start each selector with it, so your rule changes that offer and nothing else.
In Bundles & Discounts, open the offer and click the Design tab in the offer editor.
Under Settings, click Custom CSS.
Next to the class, click Copy.
Click Edit on the Design page, then paste the class at the start of your selector.
A new offer shows its class after you save it for the first time.
This example makes the option titles of one volume discount bigger and dark green:
.ab-bundle-id-g26uwmz4qf .ab-volume-discount-item-title-label {
font-size: 20px;
color: #2F5D50 !important;
}Replace the class in the example with the one you copied from your own offer.
Find the class of a part
To find the class of a part you want to change, right-click it on your store, choose Inspect and look for a class name that starts with ab-. These are the classes of common parts:
Part | Class |
Option title of a volume discount, such as "3 items" | .ab-volume-discount-item-title-label |
Savings line under it, such as "You save 10%" | .ab-volume-discount-item-save-subtitle-label |
Heading of a bundle page | .ab-bundle-heading-title |
Check the result on your store
The preview in the offer editor applies rules that start with the offer's own class, but it shows only a filtered copy of your rules. Always check the result on your store.
If a color or size doesn't change, add !important after the value, as in the example. Without it, your theme's own styles can win over yours.
Add custom HTML
Custom HTML adds your own text, image or banner next to an element in a widget. It works in Dynamic pricing, Fixed pricing, Sectioned and Buy X get Y widgets, on bundle pages and in funnels. Each block shows in every one of these offers where the element exists, not just one offer. It doesn't show in Volume discounts, Combo bundles, Classic bundles or Product discounts.
Open Design → Custom CSS and HTML.
In the Custom HTML card, click Add HTML.
In Element, enter the selector of the part of the widget you want your HTML next to. For example, .ab-bundle-heading-title is the heading of a bundle page.
In Position, choose where your HTML goes.
In HTML, enter your HTML.
Click Add, then click Save on the page.
The positions work like this:
Position | Where your HTML goes |
After it | Right after the element. |
Before it | Right before the element. |
Inside it, at the end | Inside the element, after its own content. |
This example adds a centered line under the heading of a bundle page. Your shoppers see it on the page:
To change or remove a block, click Edit or Delete on its row, then click Save.
What you can put in the HTML
Text formatting, headings, lists, tables, images and links work, and class and style attributes are kept. Everything else is removed, including buttons, videos, scripts, forms, embedded frames and IDs.
Add an image or banner
Upload the image in your Shopify admin under Content → Files and copy its link. Then paste code like this into the HTML field, with your link in src:
<div style="display: flex; justify-content: center; padding: 10px;">
<img src="https://your-image-link" alt="Describe the image"
style="max-width: 100%; width: 300px; height: auto; border-radius: 8px;">
</div>
Change the style to adjust it:
Make it bigger or smaller: change width, for example width: 400px.
Align it left or right: use justify-content: flex-start or justify-content: flex-end.
Add a border: add border: 2px solid #ccc.
Add space below it: add margin-bottom: 20px.
Things to know
A Custom HTML block shows in every offer where its element exists. To keep a line to one offer, add it to that offer's own text instead.
The element you enter must be inside the widget itself. HTML can't go next to parts of your theme.
Buttons, links, form fields and anything inside them can't be targets. If several parts match your selector, your HTML is added at each one.
CSS applies to your whole store. A selector like button changes every button it matches, not just the ones in your offers.
Your HTML is shown inside a box that can't be wider than its widget, so wide images are cut off. Set max-width: 100% on images.
FAQs
Why doesn't my CSS change anything in the offer editor's preview?
The preview shows only a filtered copy of your rules, and a rule that starts with another offer's class doesn't change this offer. Copy the class again from this offer's Design tab, then check the result on your store.
Why doesn't my CSS change my store?
Check these in order:
You clicked Save after you made your change.
The Appstle Bundles app embed is on in your theme.
Your selector starts with the right class. Copy it again from the offer's Design tab.
For a color or size, add !important after the value.
Why doesn't my HTML show?
Check these in order:
The offer is a Dynamic pricing, Fixed pricing, Sectioned or Buy X get Y offer, a bundle page or a funnel.
The element is inside the widget, and isn't a button, link or form field or inside one.
You clicked Save after adding the block.
The tags you used are allowed. Others are removed.
Can I add a button, a video or a script?
No. Buttons, videos, scripts, forms and embedded frames are removed from your HTML. To make an image clickable, wrap it in a link.







