Fix the mini-cart and cart on a dark theme
CSS to make the mini-cart and shopping cart page readable on a theme with a dark background.
Where to find it: the root_css file in the Asset Manager (Theme > gear icon > Manage Theme Assets). Part of Theme fonts, colors and styles.
Overview
Building A "Dark Theme" or a theme with a dark/black background can have its difficulties. Here are some tips to help fix some of the issues that arise when building a Dark Theme.
Mini-Cart Dark Theme
The Mini-Cart will not take your Background Color, so we will need to use CSS to make a "Dark Mini-Cart".

Paste the below CSS into the root_css file in the Asset Manager
/* MINI-CART DARK THEME*/
#pix-fe .zoey-minicart-content-container .minicart-wrapper .mini-cart-frame {
background-color: #000000;
color: #ffffff;
}
#pix-fe .zoey-minicart-content-container .minicart-wrapper {
border: 1px solid #f7f7f7;
}
#pix-fe .zoey-minicart-content-container .minicart-wrapper .mini-products-list {
border: none;
}
#pix-fe .minicart-wrapper .subtotal .label {
color: #ffffff !important;
}
#pix-fe .minicart-wrapper .subtotal {
border-top: 1px solid #f7f7f7;
}
#pix-fe .minicart-wrapper .mini-products-list > li {
border-bottom:none !important;
border-top: 1px solid #f7f7f7;
}Shopping Cart Fix
The Shopping Cart Page will not take your Text Color, so we will need to use CSS to make a "Dark Shopping Cart"
Paste the below CSS into the root_css file in the Asset Manager
/*SHOPPING CART DARK THEME*/
#pix-fe.checkout-cart-index {
color: #fff;
}Related articles
Updated about 20 hours ago
