Sito Lab Posted August 30, 2013 Share Posted August 30, 2013 (edited) Hello everyone, I have to change the default theme for a friend, on prestashop updated to version 1.5.5. the problem is this: when I insert a background image I've always used without problem in this body versona the line 53: background-color: # FFFFFF; background-image: url (miosito/themes/default/img/image.png); background-position: 46% 0; now use the same system but I do not see the background image, checking with firebug I noticed this: background-image:url(miosito/themes/default/css/iotoscana.tk/themes/default/img/crissXcross.png); background-position:initial initial; background-repeat:initial initial; where am I wrong? or are fused to notice a mistake? thanks for your help Site Test http://iotoscana.tk/ Edited August 30, 2013 by lui1969 (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted August 30, 2013 Share Posted August 30, 2013 It seems you're using the wrong url for that image, see the output: http://iotoscana.tk/...crissXcross.png You should use background-image:url(../img/crissXcross.png); If your declaration sits in global.css Link to comment Share on other sites More sharing options...
Sito Lab Posted August 30, 2013 Author Share Posted August 30, 2013 (edited) I global.css in the line 53 I've always used as above what I do not understand is why I have this my global.css body { font: normal 11px/14px Arial, Verdana, sans-serif; color: # 222; background: # fff url (hpp / / iotoscana.tk / themse / defaul / img / crissXcross.png); while if I look with firebug known more this do not understand what is wrong? Edited August 30, 2013 by lui1969 (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted August 30, 2013 Share Posted August 30, 2013 ? WHat do you mean? that url is wrong Link to comment Share on other sites More sharing options...
Sito Lab Posted August 30, 2013 Author Share Posted August 30, 2013 I am in my global.css at least if you want to attach it wrong or right I wrote something why I see it that way Link to comment Share on other sites More sharing options...
NemoPS Posted August 30, 2013 Share Posted August 30, 2013 ...uh? what? I don't really understand. Have you tried with this: background-image:url("../img/crissXcross.png"); ? Link to comment Share on other sites More sharing options...
Sito Lab Posted August 30, 2013 Author Share Posted August 30, 2013 inserted, but is equal Link to comment Share on other sites More sharing options...
NemoPS Posted August 30, 2013 Share Posted August 30, 2013 Ah, you're using css compression. Turn it off and see if it works, then try turning it on again Also, where is that image supposed to be located? Link to comment Share on other sites More sharing options...
Sito Lab Posted August 30, 2013 Author Share Posted August 30, 2013 my background image is in themes / default / img what is meant by Ah, you're using css compression. Turn it off and see if it works, then try turning it on again Link to comment Share on other sites More sharing options...
NemoPS Posted August 30, 2013 Share Posted August 30, 2013 But the image is not there: http://iotoscana.tk/themes/default/img/crissXcross.png I mean you can go to the back office, advanced parameters and disable css compression under the performance tab 1 Link to comment Share on other sites More sharing options...
Sito Lab Posted August 30, 2013 Author Share Posted August 30, 2013 ok solved, as you described I mean you can go to the back office, advanced compression parameters and disable css under the performance tab thanks Nemo1 Link to comment Share on other sites More sharing options...
Recommended Posts