surfershort Posted June 15, 2010 Share Posted June 15, 2010 Hi im building a online store at http://rollingsixes.co.uk/store/ and i would really like to be able to change the default background colour of white on the images.....ive checked everywhere for the solution im guessing its something to do with the image.inc.php file somewhere around here /* Allow to keep nice look even if resized */ $white = imagecolorallocate($destImage, 51, 51, 51); imagefill($destImage, 0, 0, $white); imagecopyresampled($newImage, $imageGd, 0, 0, 0, 0, $ratioX, $size, $x, $y); imagecolortransparent($newImage, $white); I just cant figure it out.......any help greatly appreciatedThanksAl Link to comment Share on other sites More sharing options...
pasko Posted June 15, 2010 Share Posted June 15, 2010 Hi,In the global.css from your theme you can manage colors and a lot more.Prestashop/themes/your_theme/css/global.css"Firebug" will be your best friend to find out what to change!But in your case, you might only have to modified your picture itself.Good luck! Link to comment Share on other sites More sharing options...
surfershort Posted June 15, 2010 Author Share Posted June 15, 2010 Thanks pasko yes ive tried editing the global CSS line 1009 but it doesnt seem to make any difference.....?Just cant seem to work out where the 'white' is coming fromThanks #center_column div.products_block a.product_image { background-color: transparent; display:block; height:129px; margin-bottom:2px; margin-left:2px; width:129px; Link to comment Share on other sites More sharing options...
bebba Posted June 15, 2010 Share Posted June 15, 2010 Make .png images. Link to comment Share on other sites More sharing options...
surfershort Posted June 15, 2010 Author Share Posted June 15, 2010 Thanks again.....but when i try to upload a png image i get this error.....weird...? ive tried PNG24 and PNG8. Transparent GIFs are uploading ok but still display a white background.....1 error1. image format not recognized, allowed formats are: .gif, .jpg, .png Link to comment Share on other sites More sharing options...
bartman Posted June 15, 2010 Share Posted June 15, 2010 I posted a solution hereRegardsChris Link to comment Share on other sites More sharing options...
Barbiche Posted June 15, 2010 Share Posted June 15, 2010 HelloCould you tell me what theme you use? I think they're great! Link to comment Share on other sites More sharing options...
surfershort Posted June 16, 2010 Author Share Posted June 16, 2010 I posted a solution hereRegardsChris Thanks Chris ! All sorted Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now