Looking for help to change color on "cart background color"

Solved

Looking for help to change color on "cart background color"

rygerto
Tourist
5 0 3

We have tried to customize it - but cant seem to get it to work in the the editor or the right prompt in the .css.

We are using "colors theme".

 

We want to have like white or theme grey as background color on this right menu cart bakground color, not dark and black.Any solutions? se attached fileSkärmavbild 2023-11-28 kl. 22.12.41 kopiera.jpg

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
8313 1996 2454

This is an accepted solution.

Check this one. 

Same Instruction. 

 

.side-cart *:not(button.btn.accent.cart__checkout) {
    color: black !important;
}
.side-cart .side-cart-header, .side-cart .side-cart-container .more {
    border-color: black;
}

 

And Save. 

Result:

Made4uoRibe_0-1714418278068.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 6 (6)

Made4uo-Ribe
Shopify Partner
8313 1996 2454

Hi @rygerto 

Would you mind to share your Store URL website? with password if its unpublish. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

PageFly-Richard
Shopify Partner
4668 1069 1726

Hi @rygerto 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
.side-cart, .side-cart .more {
    background: #d2d5d9;
    color: black;
}
.more * {
    color: black !important;
}
h2#CartPopupHeading {
color: black;
}
</style>

PageFlyRichard_0-1701220233456.png

You can change the background hexcode at #d2d5d9 to your desired color

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

rygerto
Tourist
5 0 3

It actually didnt work, maybe you could check - https://bon-isla.com/

 

Would like to change the black background to yellow! .... or change background to white (and then change text to black of course)

Made4uo-Ribe
Shopify Partner
8313 1996 2454

Hi @rygerto 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.side-cart, .side-cart .side-cart-container .more {
    background: #f7df8d !important;
}

 

And Save. 

Result:

Made4uoRibe_0-1714405647084.png

Note; Do you still want to change the text colors?

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
rygerto
Tourist
5 0 3

Ohh nice! ty! Have changed it and tried it out. If I want the background white I understand I can change the #code you sent but if I want to change the color of the white text here, how do I do that?

Made4uo-Ribe
Shopify Partner
8313 1996 2454

This is an accepted solution.

Check this one. 

Same Instruction. 

 

.side-cart *:not(button.btn.accent.cart__checkout) {
    color: black !important;
}
.side-cart .side-cart-header, .side-cart .side-cart-container .more {
    border-color: black;
}

 

And Save. 

Result:

Made4uoRibe_0-1714418278068.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.