Customizing Downpay Theme Extensions with CSS
Downpay can be customized with CSS to integrate better with your theme.
Product Page Downpay CSS
Product page classes
Product page examples
Cart Page Downpay CSS
Cart page classes
Cart page examples
Customer order management portal CSS
Customer order management portal classes
Customer order management portal examples
Custom CSS can be entered into the Downpay product block or embed from the Shopify theme editor.

#downpay-product-wrapper - Entire block

#hypehound-pre-orders - Includes border surrounding purchase options


#hypehound-legend - Includes header name style Purchase Options


#purchase-option-deposit-wrapper - Deposit purchase option`


#purchase-option-full-wrapper - Pay in full purchase option`


#purchase-option-info-wrapper - Customer help text'`

If you don't want to use classic radio buttons on your page, you can turn them into the regular looking buttons.
All you need to do it copy the following piece of code and paste it into the Custom CSS block when customizing your theme.
You can modify the code further to change the colors or the display of the buttons.
Before

After

You can change the color of the radio button using the following CSS.
Before

After


If you have adjusted the language of your purchase options and it is running off the screen, the white-space css property can be used to adjust this from no-wrap to normal
Before

After


This will hide the buyer consent paragraph on the product and cart page.

Navigate to the product page, and select Downpay
In the Downpay settings, scroll to the bottom and add the following in the Custom CSS box:

Custom CSS can be entered into the Downpay cart embed from the Shopify theme editor.

.downpay-due-today - Due today line
.downpay-subtotals For both due today and later lines
We use .totals, .totals-checkout to attempt to set classes to match the theme.

#downpay-due-today-amount - Subtotal amount for due today line.

downpay-remaining-amount - Due later line

#downpay-due-later-amount - Subtotal amount for due later line


Customer order management portal CSS can be added to any stylesheet that is available across your store. In some themes this includes files like `styles.css`or base.css
.downpay-customer-page-content - Entire block

.order-summary-container and .order-summary-wrapper - Order summary

.order-section - Order number and back to order status button

.order-button - View order button

.summary-section - Payment summary section

.summary-item - Line items of the payment summary

.update-payment-section - Update payment method section

.cancel-section - Order cancel section if enabled in Downpay settings

On this page:
Product Page Downpay CSS
Product page classes
Product page examples
Cart Page Downpay CSS
Cart page classes
Cart page examples
Customer order management portal CSS
Customer order management portal classes
Customer order management portal examples
Product Page Downpay CSS
Custom CSS can be entered into the Downpay product block or embed from the Shopify theme editor.

Product Page Classes
#downpay-product-wrapper - Entire block

#hypehound-pre-orders - Includes border surrounding purchase options


#hypehound-legend - Includes header name style Purchase Options


#purchase-option-deposit-wrapper - Deposit purchase option`


#purchase-option-full-wrapper - Pay in full purchase option`


#purchase-option-info-wrapper - Customer help text'`

Product page examples
Changing radio buttons to clickable buttons
If you don't want to use classic radio buttons on your page, you can turn them into the regular looking buttons.
All you need to do it copy the following piece of code and paste it into the Custom CSS block when customizing your theme.
.purchase-option-input input[type='radio'] {
display: none;
}
.purchase-option-input label {
min-width: 130px;
text-align: center;
display: inline-block;
padding: 8px 16px;
border: 1px solid #ccc;
border-radius: 5px;
cursor: pointer;
background-color: white;
color: #25252599;
font-weight: bold;
transition: all 0.2s ease-in-out;
}
.purchase-option-input input[type='radio']:checked~label {
background-color: #252525;
color: #efecec;
border: none;
}
.selling-plan-fieldset {
flex-direction: row !important;
border: none !important;
padding-left: 0 !important;
}
You can modify the code further to change the colors or the display of the buttons.
Before

After

Changing colour of radio buttons
You can change the color of the radio button using the following CSS.
.purchase-option-input {
accent-color:red;
}
Before

After


Wrapping long purchase option text
If you have adjusted the language of your purchase options and it is running off the screen, the white-space css property can be used to adjust this from no-wrap to normal
#purchase-option-label {
white-space: normal;
}
Before

After

Adjust border styling

#hypehound-pre-orders {
border-colour: blue;
border-style: dotted;
border-width: 3px;
border-radius: 10px;
}
Hiding buyer consent paragraph
This will hide the buyer consent paragraph on the product and cart page.

Navigate to the product page, and select Downpay
In the Downpay settings, scroll to the bottom and add the following in the Custom CSS box:
#shopify-buyer-consent { display: none }

Cart page Downpay CSS
Custom CSS can be entered into the Downpay cart embed from the Shopify theme editor.

Cart page classes
.downpay-due-today - Due today line
.downpay-subtotals For both due today and later lines
We use .totals, .totals-checkout to attempt to set classes to match the theme.

#downpay-due-today-amount - Subtotal amount for due today line.

downpay-remaining-amount - Due later line

#downpay-due-later-amount - Subtotal amount for due later line

Cart page examples
Adjust font size

.downpay-subtotals {
font-weight: 700;
}
Customer order management portal CSS
Customer order management portal CSS can be added to any stylesheet that is available across your store. In some themes this includes files like `styles.css`or base.css
Customer order management portal classes
.downpay-customer-page-content - Entire block

.order-summary-container and .order-summary-wrapper - Order summary

.order-section - Order number and back to order status button

.order-button - View order button

.summary-section - Payment summary section

.summary-item - Line items of the payment summary

.update-payment-section - Update payment method section

.cancel-section - Order cancel section if enabled in Downpay settings

Customer order management portal examples
Change all buttons to black background with white text and make them round
.order-button {
background-color: black;
color: white;
border-radius: 20px;
}
.general-button {
background-color: black;
color: white;
border-radius: 20px;
}
Updated on: 13/02/2025
Thank you!