jparkerbishop Posted May 25, 2011 Share Posted May 25, 2011 Hello all, I'm trying to change the background colour of my theme to an image. I'm using the following code which I think is correct, but it seems to have no effect? body { background-image: url ("../themes/basartronic/img/bg.jpg") repeat-x; font-size: 11px; font-family: Verdana, Arial, Helvetica, Sans-Serif; color: #5D717E; text-align: center; Any help would be great! Link to comment Share on other sites More sharing options...
Raphaël Malié Posted May 26, 2011 Share Posted May 26, 2011 In which folder is this CSS class ? The path of your background image need to be relative to your CSS. You should use Firefox with Firebug module, this is veeeeeeeeeeery helpfull for CSS modifications Link to comment Share on other sites More sharing options...
jparkerbishop Posted May 26, 2011 Author Share Posted May 26, 2011 What do you mean by the css class? The file I changed was global.css, which I thought controlled the overall configuration? I can't find any other folder with background image in it? Sorry for being noob! Link to comment Share on other sites More sharing options...
countryp Posted May 28, 2011 Share Posted May 28, 2011 You were so close. This is what worked for me.Edit this file: /public_html/themes/prestashop/img/global.css file as follows: body { background-color: transparent; background-image: url('../img/page_t.jpg'); background-repeat: repeat-x top right; font-size: 11px; font-family: Verdana, Arial, Helvetica, Sans-Serif; color: #5d717e; text-align: center } Make sure to put the image you want to use for your background into the /public_html/themes/prestashop/img/ folder.In my case, the image was named page_t.jpg and the size is only 350x226. Link to comment Share on other sites More sharing options...
PrestaSupport Posted May 28, 2011 Share Posted May 28, 2011 Yes, it is important to give the full path to the picture, in this case ../img is very important Link to comment Share on other sites More sharing options...
Dreamtheme Posted May 30, 2011 Share Posted May 30, 2011 And also, check in the back office that Preference - Performance - force compile is set to yes and disable cache so you can see your changes and not an cached version. Link to comment Share on other sites More sharing options...
kraftykiddoscom Posted June 4, 2011 Share Posted June 4, 2011 'code change worked beautifully but i see they don't have their background on the table set to white. anyone know what i would have to change to get the table background to all be white? Link to comment Share on other sites More sharing options...
Recommended Posts