Jump to content

Shopping cart background color in dark mode

Recommended Posts

Site URL: https://inoubli4ble.art/cart

Site URL: https://inoubli4ble.art/cart

How can I change the background color of my shopping cart page in dark mode? I want the background color to be #202124 & all the text + button to be white. I tried 

body#cart main#page {

already, but it doesn't seem to work, even after refreshing and clearing the browser cache.

Hope somebody can help me.


Bildschirmfoto 2022-06-19 um 20.15.26.png

Link to comment
22 minutes ago, inoubli4ble said:

Thanks for your help. I implemented it but it doesn't seem to work 😞

Add this new code to Settings > Advanced > Code Injection > Header

  body.dark-mode#cart {
    background-color: #202124;
body.dark-mode#cart #page * {
    color: white;


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.