How can I modify the color of checkout and view cart boxes?

Topic summary

Goal: change “Continue shopping” text to white and remove the ugly black border on the checkout and view cart boxes.

Steps taken: Edited theme.liquid (Shopify theme file) and added custom code above the tag. A screenshot showed the visual result. The exact code content is not visible in the captured post.

Outcome: Initial styling issue was resolved; the user confirmed it worked.

New development: After the change, the “Add to cart” button is no longer displayed as a box (i.e., its button styling appears lost). A screenshot illustrates the problem.

Status: The original issue is fixed. The new “Add to cart” button styling issue remains open, awaiting a fix or guidance.

Notes:

  • No store URL or password was provided.
  • Images are central to understanding both the successful outcome and the new issue.
  • Likely cause: the added custom code affected global button CSS, impacting the “Add to cart” styling. Further CSS targeting or scoping is needed.
Summarized with AI on January 3. AI used: gpt-5.

Hello,

I would like to change the continue shopping text to white.
And secondly the checkoutbox and the view cart box have a really ugly black border. How do I change this?

Thanks!

Hey @Luc1234

Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

Best Regards,
Moeed

no passoword

Hey @Luc1234

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

Thank you it worked

Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

Hello,
Now we fixed this there raised a other isue I think. Now the add to cart isn’t a box anymore. Do you know a fix?