Hi - I am running the Enterprise theme and would like to highlight / change the background colour of the first product card in the product comparison grid section.
Also, I would like the card width to remain the same even if I only have 2 products. So instead of scaling up to fill the page width, the card width should stay the same. Hope this makes sense.
To highlight or change the background color of the first product card in the comparison grid on the Enterprise theme, you can use this CSS:
.comparison-grid .product-card:first-child {
background-color: #f5f5f5; /* Change to your desired color */
}
Just add it to your theme’s custom CSS section or inside your main stylesheet usually theme.css or base.css depending on the version.
If the structure is slightly different in your version of the Enterprise theme, feel free to share the preview link or theme version, i will happy to guide you further!
Welcome to the Shopify Community! Please share your store URL and password (if it’s password-protected), so I can check and provide you with the exact solution.
Close. But would like the background colour changed for the entire first product column as shown below - including the data in the table below the product card. The remaining product columns are to have a white background. Is this possible?