Search Divi Cart Pro Documentation
Search for answers or browse our knowledge base.
How to make the mini cart appear at the top of the visible screen?
Please add the following CSS in your Divi Theme Options to ensure the mini cart appears at the top of the visible screen:
.dcp_mini_cart_active.dcp_mini_cart_module {
position:fixed !important;
}
And, To make the mini cart fix apply only for desktop, please add the following CSS. We’ve also included adjustments for the top and right spacing:
@media only screen and (min-width: 981px) {
.dcp_mini_cart_active.dcp_mini_cart_module {
position: fixed !important;
top: 6% !important;
right: 3% !important;
}
}