I am wanting to add a coloured background to the text on my collection list section so that the text is easily readable, at the moment it gets lost in the image. I don’t want to use an overlay over the whole image, just like a ‘box’ around the text.
Is there some CSS i could use in this section to add that in?
Here is a screenshot of what I mean
Thank you in advance.
You can use CSS to add a colored background to the text in your collection list section. Here’s an example of CSS code that you can add to your theme’s CSS file or the specific section’s customization options:
.collection-list-section .collection-list-item .collection-list-item__title {
background-color: #ffffff; /* Replace with your desired background color */
padding: 10px; /* Adjust the padding as needed */
color: #000000; /* Replace with your desired text color */
}