On my homepage I display some of my products. The product titles used to be black: https://ibb.co/8rR7zBh Because of unknown reasons they have turned blue (link color): https://ibb.co/B6nq0Fr I want the product titles to continue to be black. What CSS should I use to solve this?
From what I understand, you’re currently dealing with a color issue on your product titles. They’ve unexpectedly switched from black to blue, and you’d like to revert them back to black.
Looking at the screenshots you’ve shared, it’s clear that you’re keen on changing the product titles’ color back to black, specifically in the Hand-picked Products Block. Here’s a quick solution: you can use this CSS code:
.wc-block-grid.wp-block-handpicked-products.wc-block-handpicked-products ul li .wc-block-grid__product-title {
color: black;
}
I’m delighted to hear that the CSS code worked for you and you were able to change the color of your product titles back to black. It’s always great to hear when a solution is successful!
I’ll go ahead and mark this thread as resolved. However, if you ever have more questions or issues in the future, don’t hesitate to kick off a new topic.