Change colors and design

Match the banner, dialog, notice, and checkbox colors to your theme. Available on every plan.

Colors under App embeds > Omake gift auto-add in the theme editor

Change colors in the theme editor

  1. In your Shopify admin, open the theme editor.
  2. Under App embeds, open Omake gift auto-add.
  3. Choose the colors and select Save.

You can set these colors.

  • Banner background
  • Banner text (used for the text and the progress bar)
  • Accent color (used for the accept button)
  • Checkbox color (used for checkboxes in the cart and the dialog; the check mark turns white or black to stay readable)
  • Dialog background
  • Dialog text (used for the gift dialog and the added-to-cart notice)

Fine-tune with CSS

You can change the corner radius, product image size, price color, and more with your theme's CSS. Every element Omake adds has a class name starting with omake-. If your theme's CSS targets the same class, it overrides Omake's defaults without !important.

To change only colors and sizes, override the CSS variables.

:root {
  --omake-accent: #0b6e4f;
  --omake-checkbox: #0b6e4f;
  --omake-modal-radius: 16px;
  --omake-modal-image-size: 64px;
}

Some of the variables you can use:

  • --omake-banner-bg, --omake-banner-text: banner background and text
  • --omake-accent: the accept button
  • --omake-dialog-bg, --omake-dialog-text: dialog and notice background and text
  • --omake-checkbox: checkbox border and fill
  • --omake-modal-radius, --omake-modal-item-radius, --omake-modal-button-radius: corner radius of the dialog, gift rows, and buttons
  • --omake-modal-image-size, --omake-modal-image-radius: size and corner radius of the gift image in the dialog
  • --omake-modal-free-color: color of the ¥0 price

To change shapes and spacing, target the class names (for example, .omake-banner for the whole banner and .omake-modal__card for the dialog). Checkboxes are styled to resist theme styles, so combine at least two classes, such as .omake-optin .omake-checkbox.

Good to know

  • The colors chosen in the theme editor are the defaults, and values set in CSS take priority.
  • The gift image and price in the dialog appear after you save a gift rule or open the Omake admin.
  • If the cart count in your header doesn't update after a gift is added or removed, enter that section's ID in Extra section IDs to re-render (comma separated) under Advanced in Settings. Usually you can leave this empty.

解決しないときは

インストールから使い始めるまでの流れは、設定ガイドにまとめています。それでも解決しないときは、お気軽にお問い合わせください。

設定ガイドを見るお問い合わせ

Related articles

Back to all articles