Adding CSS to the Legacy Javascript Widget in your Shopify theme
Change the look and feel of the subscription widget by adding CSS rules to your Shopify theme.
This guide describes the legacy Recharge JavaScript subscription widget, which is no longer officially supported or under active development. It remains available for merchants who continue to use the legacy widget. Recharge recommends using the current Recharge subscription widget for new implementations. Recharge Support may have limited ability to troubleshoot issues related to the legacy widget.
This article covers how to add custom styling to the Legacy Javascript Widget.
Add custom styles to CSS file
Add custom styles to your theme's CSS file:
-
Navigate to your Shopify store and in the theme editor, open the theme code.
-
Click on the Assets folder and select
theme.css.liquid.
-
Paste custom styles at the bottom of the CSS file.

Custom CSS examples
The following code displays examples of CSS rules that accomplish various changes to the widget.
Change color of subscription selection area
div.rc_block__type--active {
background-color: #F8F8F8 !important;
}Change price color and size
.price-item {
color: red !important;
font-size: 20px !important;
}Updated 11 days ago
