Skip to main content

Adding Custom CSS

Go beyond built-in settings with custom CSS for precise styling control.

Updated yesterday

Where to Add Custom CSS

Option 1: MOD Bundles Customization (Recommended)

  1. Open MOD BundlesCustomization

  2. Find Custom CSS section

  3. Add your CSS and save

CSS added here persists across theme changes.

Option 2: Theme CSS

  1. Go to Online Store → Themes → Edit code

  2. Find base.css or theme.css

  3. Add your rules and save

Theme CSS is lost when you switch themes.


Common Class Patterns

Prefix

Bundle Type

.pack-builder-*

Pack Builder

.mix-match-*

Mix & Match

.collection-bundle-*

Collection Bundle

.bundle-*

Shared elements

Use browser inspector (right-click → Inspect) to find exact class names for any element.


Examples

Button Colors

.bundle-add-to-cart-btn {  background-color: #4A90D9;  color: white;}

Selected Card Highlight

.mix-match-card.selected,.pack-builder-card.selected {  border: 2px solid #4A90D9;  box-shadow: 0 0 10px rgba(74, 144, 217, 0.3);}

Image Hover Effect

.bundle-product-image {  transition: transform 0.3s ease;}.bundle-product-card:hover .bundle-product-image {  transform: scale(1.05);}

Mobile Adjustments

@media (max-width: 768px) {  .bundle-add-btn {    min-height: 48px;    padding: 12px 20px;  }  .bundle-product-title {    font-size: 14px;  }}

Hide Elements

.bundle-product-price { display: none; }.bundle-compare-price { display: none; }

Theme Variable Integration

.bundle-add-btn {  background-color: var(--color-button);  color: var(--color-button-text);  font-family: var(--font-heading);}

Using !important

Sometimes needed to override existing styles:

.bundle-add-btn {  background-color: #4A90D9 !important;}

Use sparingly — it makes future changes harder.


Troubleshooting

  • CSS not applying — Check syntax (missing semicolons/brackets), verify selector, clear cache, try !important

  • Theme conflicts — Use more specific selectors or !important; inspect element to find conflicting rules

  • Mobile looks wrong — Add @media queries; test on actual device


Related Articles

Did this answer your question?