flukenakrab Posted November 22, 2008 Share Posted November 22, 2008 I have edit default theme to Dark-gray color and want to change background's product from white to blackPlease... Link to comment Share on other sites More sharing options...
Rod_ Posted November 23, 2008 Share Posted November 23, 2008 Try in globals.css: #center_column div.products_block a.product_image { background-color:transparent; display:block; height:129px; margin-left:2px; width:129px; } Not sure but maybe changing the transparent attribute to any colour could work.GL!. Link to comment Share on other sites More sharing options...
flukenakrab Posted November 23, 2008 Author Share Posted November 23, 2008 Thanks Rod_I have try the code and new upload image but not work. Link to comment Share on other sites More sharing options...
Rod_ Posted November 23, 2008 Share Posted November 23, 2008 MMmmm try on the next group of styles.#center_column div.products_block a.product_image img {} Link to comment Share on other sites More sharing options...
flukenakrab Posted November 23, 2008 Author Share Posted November 23, 2008 Not work Link to comment Share on other sites More sharing options...
mcfreedom Posted December 8, 2008 Share Posted December 8, 2008 Does anyone have THE SOLUTION???Hi team! Why images backgorund became black after uploading product images? Link to comment Share on other sites More sharing options...
Torbz Posted June 23, 2009 Share Posted June 23, 2009 I've seen this somewhere on the forum - am looking for it again myself.the changes need to be made in the file that handles image uploads - there is an R,G,B value in there that dictates the colour of the automatic background. It's not a CSS attribute if I remember rightly.anyone point me to the correct thread? Link to comment Share on other sites More sharing options...
Edowardo Posted December 21, 2011 Share Posted December 21, 2011 Hello and sorry form my english. Searching a metod for clean the white spaces for the images i probe this and run ok. In admin/functions.php change arround the line 197 change the simbol > for <. The crop images dont show withe spaces (crop outside) and generate a proportional images fill all the type images (small, large, etc...) (crop inside) I probe in V1.0. Original: if (intval(Configuration::get('PS_IMAGE_GENERATION_METHOD')) == 2 OR (intval(Configuration::get('PS_IMAGE_GENERATION_METHOD')) == 0 AND $widthDiff > $heightDiff)) Modified: if (intval(Configuration::get('PS_IMAGE_GENERATION_METHOD')) == 2 OR (intval(Configuration::get('PS_IMAGE_GENERATION_METHOD')) == 0 AND $widthDiff < $heightDiff)) Link to comment Share on other sites More sharing options...
Recommended Posts