Make cart background white and text white

Topic summary

A user seeks to customize their Shopify cart page by changing the background to white and text to black.

Solutions Provided:

Two community members offered similar CSS-based solutions:

  • Navigate to Online Store → Themes → Actions → Edit Code
  • Locate the theme.liquid file
  • Insert custom CSS code above the </body> closing tag

One responder noted that some existing code may already be overridden and provided specific CSS snippets.

Current Status:

The initial solution was partially successful. The original poster reports the styling is “almost ready” but requests additional help with:

  • Making checkboxes visible (specifically for terms and conditions)
  • Ensuring text box frames remain visible

The discussion remains ongoing with follow-up customization needed. Screenshots were shared to illustrate the issue and proposed solutions.

Summarized with AI on November 5. AI used: claude-sonnet-4-5-20250929.

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

1 Like

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 tag


RESULT:

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

Best Regards,
Moeed

1 Like

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 tag and paste the code below before the tag.


And save.

result:

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

@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?