roz Posted April 16, 2014 Share Posted April 16, 2014 hi! i want to change the background color of the product name (see image below) only the product name part. i can't find it anywhere in my css files where to change it. anyone knows where to change it? thanks! Link to comment Share on other sites More sharing options...
dioniz Posted April 16, 2014 Share Posted April 16, 2014 Hey roz it's in product_list.css ul.product_list.grid > li .product-container h5 { min-height: 53px; padding: 0 15px 7px; } Just add background to it, or if you want it just on link make new class like this: ul.product_list.grid > li .product-container h5 a { background:#f6f6f6; } Change to desired color 1 Link to comment Share on other sites More sharing options...
roz Posted April 16, 2014 Author Share Posted April 16, 2014 Hey roz it's in product_list.css ul.product_list.grid > li .product-container h5 { min-height: 53px; padding: 0 15px 7px; } Just add background to it, or if you want it just on link make new class like this: ul.product_list.grid > li .product-container h5 a { background:#f6f6f6; } Change to desired color got it! thanks! but noticed something though, when i change to List view, the price also got this background color. is there a way to avoid this? Link to comment Share on other sites More sharing options...
dioniz Posted April 16, 2014 Share Posted April 16, 2014 ul.product_list.list > li h5 { padding-bottom: 8px; } add background:none; Link to comment Share on other sites More sharing options...
roz Posted April 16, 2014 Author Share Posted April 16, 2014 ul.product_list.list > li h5 { padding-bottom: 8px; } add background:none; oh found the culprit. i accidentally inserted a background color in content_price maybe while i was trying to find where to put it earlier it's now fixed. thanks dioniz! Link to comment Share on other sites More sharing options...
dioniz Posted April 16, 2014 Share Posted April 16, 2014 You are welcome Link to comment Share on other sites More sharing options...
roz Posted April 16, 2014 Author Share Posted April 16, 2014 got a follow up question how about if i want to change the text to white? only for the grid list. thank you Link to comment Share on other sites More sharing options...
roz Posted April 16, 2014 Author Share Posted April 16, 2014 You are welcome got a follow up question how about if i want to change the text to white? only for the grid list. thank you Link to comment Share on other sites More sharing options...
dioniz Posted April 16, 2014 Share Posted April 16, 2014 (edited) Add new class like this ul.product_list.grid .product-name { color: #fff; } Edited April 16, 2014 by dioniz (see edit history) 1 Link to comment Share on other sites More sharing options...
roz Posted April 17, 2014 Author Share Posted April 17, 2014 got it! thanks again dioniz! Link to comment Share on other sites More sharing options...
Recommended Posts