It works for me. I added the code you had to put a blue background around the bottom part of the product layout and a background-color: red; to the .pr_img tag to put a red background around the image at the top of the product layout Here is the code for that.
- Code: Select all
.pr_img {
display: block;
min-height: 158px;
padding: 0px;
margin: 0px auto;
text-align: center;
clear: both;
background-color: red;
}
.prod_info {
background-color: #C4E6F2;
}
And my products have a red background around the image and a blue background around the rest of the product.
The changes I made were to a "Publish" file called flex-build.css. So make sure that you are making your changes under the Merchandising > Custom Templates > Includes > Publish section not just in the includes section.