custom css.md


title: Style the widget with custom CSS description: "Fine-tune the widget's look with your own CSS." url: "https://armorship.com/docs/custom-css/" updated: "2026-10-12" category: "Settings & Configuration"

Style the widget with custom CSS

If the built-in design options aren't enough, you can add your own CSS. This feature requires the Pro plan or higher.

Add custom CSS

  1. In Armorship, go to Setup Widget and open the Appearance tab.
  2. Scroll to Custom CSS and enter your styles.
  3. Click Save Settings.

Your CSS applies only to the Armorship widget. It won't change the rest of your theme.

Selectors you can use

Selector Targets
.armorship-root The outer container of the widget
.armorship-box The widget card
.armorship-btn-on The protected checkout button in the Standard template
.armorship-btn-off The checkout-without-protection button in the Standard template
[data-armorship-placement="cart-page"] The widget on the cart page
[data-armorship-placement="drawer"] The widget in the cart drawer
[data-armorship-placement="notification"] The widget in the cart notification
#armorship-upsell-modal The upsell reminder popup
#armorship-terms-modal The terms and conditions popup

Examples

Add space above the widget in the cart drawer:

[data-armorship-placement="drawer"] .armorship-box {
  margin-top: 12px;
}

Round the corners of the widget card:

.armorship-box {
  border-radius: 12px;
}