Style the widget with custom CSS - Armorship
Style the widget with custom CSS
< 1 min read
0:00
0:59
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
In Armorship, go to Setup Widget and open the Appearance tab.
Scroll to Custom CSS and enter your styles.
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; }
Updated on October 12, 2026
What are your feelings
Happy
Normal
Sad
Share This Article:
X
Hide the protection product in the cart