Change background color of collection list

Hi, new here. How do I change the background color of my collection list page and the textcolor?I can see similar topics, but can’t see the needed code.

Thanks, Martijn

Hey @Feedt

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

Can you share a screenshot of what you’re referring to so that we’re on the same page? Also let me know which color you wanna change the background and text of.

Best,
Moeed

background color to #121212

text color to #F9E8A4

Hey @Feedt

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>
main#MainContent:has(div#shopify-section-template--26985560047953__main) {
    background: #121212 !important;
}
div#shopify-section-template--26985560047953__main {
    background: #121212 !important;
}
div#shopify-section-template--26985560047953__main * {
    color: #F9E8A4 !important;
}
</style>

RESULT:

If you require any other help, feel free to reach out to me. If I managed to help you then a Like would be truly appreciated.

Best,
Moeed

Thanks Moeed, works out fine.:grinning_face:

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.