# Add custom CSS to a deal and style one deal bar

Use Custom Styles in the deal editor to change the widget with CSS, for all deals or one deal, and target one bar with data-deal-bar-id.

https://www.kachingappz.com/help/bundles/custom-css/ · Updated 2026-12-03

Custom Styles let you change the look of the widget with your own CSS, when the deal's style settings do not have the option you need.

## Add custom CSS

1. Open the deal and open the **Style** section.
2. Turn on **Custom Styles**.
3. Choose a tab:

   - **All deals**: the CSS applies to every deal that has **Custom Styles** on.
   - **This deal**: the CSS applies to this deal only.

4. Write your CSS in the editor, then save the deal.

The app limits your CSS to the deal's widget, so it does not change the rest of your product page. You do not need `<style>` tags: the app removes them.

Build a box pages have their own custom CSS: in the Build a box editor, open **Style**.

## Classes and attributes you can target

| Element | Selector |
| --- | --- |
| Every deal bar | `.kaching-bundles__bar` |
| The selected bar | `.kaching-bundles__bar--selected` |
| One bar | `.kaching-bundles__bar[data-deal-bar-id="..."]` |
| A free gift | `[data-free-gift-id="..."]` |
| An upsell | `[data-upsell-id="..."]` |
| The crossed-out price of a bar | `.kaching-bundles__bar-full-price` |

There is no class for the position of a bar (first, second). Use the bar's ID.

## Style one deal bar

1. Open your product page on your store.
2. Right-click the bar and click **Inspect**.
3. Find the element with the class `kaching-bundles__bar` and copy the value of its `data-deal-bar-id`.
4. Use it in **This deal**, for example:

```css
.kaching-bundles__bar[data-deal-bar-id="paste-the-id-here"] {
  border-width: 3px;
}
```

The bar keeps its ID when you edit the deal. A bar that you delete and add again gets a new ID.

## Hiding parts of a bar

Before you hide something with CSS, check the deal settings. These options show content only for the bar the customer selected:

- **Show products only when selected** on Bundle and Mix & Match bars
- **Show highlights only when selected**
- **Visible only when bar is selected** on bar upsells
- **Show product options only when selected** on upsells

There is no setting to hide the other bars when the customer selects one.

---

Need help? Drop us a message in the live chat, and we'll sort it out together.

## Related articles

- [How to change the font and text size in your Kaching Bundles widget](https://www.kachingappz.com/help/bundles/fonts.md): Change the font, text size and font style of your bundle widget, pill buttons and sticky add to cart bar.
- [Brand Colors: Match Your Bundles to Your Store Automatically](https://www.kachingappz.com/help/bundles/brand-colors.md): Kaching reads the colors from your storefront and turns them into a palette you can apply to every bundle deal — no hex codes, no guesswork.
- [How to remove compare at price from the bundle deal](https://www.kachingappz.com/help/bundles/hide-compare-at-price.md): Learn how to hide compare at price for Kaching Bundle deals.
- [Why the selection dot does not show on my deal bars](https://www.kachingappz.com/help/bundles/selection-dot-hidden.md): A bar image replaces the selection dot, and the grid layout hides it
- [Build a box: discount tiers, product tabs and page texts](https://www.kachingappz.com/help/bundles/build-a-box-settings.md): Set the tier discounts of a Build a box page, group its products in tabs, and change the texts, also in the bar at the bottom on phones.
