I’m using the dawn theme
-
The section for “you may also like” on the product page is black and I don’t know how to change it to match the section back ground. The images are pngs with transparent background.
-
How do I show actual related products rather than something random?
For example, on this page it shows a yogurt instead of a related cheese type.
https://bleswold.myshopify.com/products/gouda-cheese-a2-medium
pw cheese
1 Like
Hi @kirkcanada
Please follow the instructions below to make the product image background transparent.
- 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:
.product-recommendations .card__inner.color-background-2.ratio {
background-color: transparent;
}
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
1 Like
Hey @kirkcanada ,
Please provide store’s password
1 Like
To make the black background transparent add the following code to the bottom of your component-card.css file:
.card--card, .card--standard .card__inner {
background-color: transparent !important;
}
That seems to have done the job. Thanks so much for your help.