Changing text to black on 'your cart page' on colour block

Hi,

I am stuck on how to change the text colour to black on the following areas of my site as it doesn’t give me the option to change themes within these sections:

  1. Your Cart Page

  1. On my product pages

  1. On my collections page

Any help would really be appreciated.

Thank you in advance :slightly_smiling_face:

1 Like

URL is https://streetcore.co.uk/ password hal

Hi @emilymay

Try this code if it change mostly the text color of your page.

  • 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:
main#MainContent * {
    color: black; 
}
  • And Save.

I hope it help.

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

Hey,

This didn’t change any of the 3 problem texts to black. Anything else I can try?

Thanks

1 Like

Okay so need to change by section. Did I already give you the code for the categories right? cause it already black color.

Same Instruction.

section#shopify-section-template--20564495237417__main * {
    color: black;
}
div#shopify-section-template--20564495008041__cart-items * {
    color: black;
}

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

Categories is in black yes, however collections are still in blue (that page isnt currently linked to my home page menu)

I also tried the above bit of code and still no change to the colours. What should I do?

Anyone have any suggestions?