Make cart background white and text white

Solved

Make cart background white and text white

Daniel19901
Shopify Partner
244 0 65

Hi, I would like to make this section in my cart white and all the text items black. Can anyone help?

https://c50810-c5.myshopify.com/cart

 

Daniel19901_0-1726774680064.png

 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
8274 1985 2435

This is an accepted solution.

Hi @Daniel19901 

Some of the code are already overide. 

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 "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

 

<style>
section#shopify-section-template--23256689017174__main .t4s-cartPage__footer {
    background: #fff !important;
}

section#shopify-section-template--23256689017174__main .t4s-container * {
    color: black !important;
}

.t4s-main-cart input:not([type=submit]):not([type=checkbox]):not([type=number]), 
.t4s-main-cart select, 
.t4s-main-cart textarea, 
input[type=checkbox][data-agree-checkbox]+label:before {
    border: 1px solid #000 !important;
}
</style>

 

 

And save. 

result:

Made4uoRibe_0-1726775457648.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 3 (3)

Moeed
Shopify Partner
5432 1470 1756

Hey @Daniel19901 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.t4s-cart-couponcode__label, .t4s-txt_add_note, p.t4s-cart-couponcode__info, .t4s-main-cart__block-content, .t4s-row.t4s-gx-30.t4s-gy-0.t4s-align-items-center, p.t4s-cart__tax {
    color: black !important;
}
.t4s-cartPage__footer {
    background: #ffffff !important;
}
.t4s-cart__agree a {
    color: black !important;
}
</style>

RESULT:

Moeed_0-1726775190972.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


Daniel19901
Shopify Partner
244 0 65

@Moeed thank you so much! it's almost ready. Can we make the checkbox (terms and conditions) and the frames of the text boxes will be visible?  

Made4uo-Ribe
Shopify Partner
8274 1985 2435

This is an accepted solution.

Hi @Daniel19901 

Some of the code are already overide. 

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 "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

 

<style>
section#shopify-section-template--23256689017174__main .t4s-cartPage__footer {
    background: #fff !important;
}

section#shopify-section-template--23256689017174__main .t4s-container * {
    color: black !important;
}

.t4s-main-cart input:not([type=submit]):not([type=checkbox]):not([type=number]), 
.t4s-main-cart select, 
.t4s-main-cart textarea, 
input[type=checkbox][data-agree-checkbox]+label:before {
    border: 1px solid #000 !important;
}
</style>

 

 

And save. 

result:

Made4uoRibe_0-1726775457648.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.