RevolutionaryLegion Posted November 20, 2011 Share Posted November 20, 2011 I was trying to add a background image to my site, and entered this into the global.css file in my theme's directory: } body { background-image: url(‘themes/free2/img/dbb5.jpg’); background-color: white; font-size: 11px; font-family: Verdana, Arial, Helvetica, Sans-Serif; color: #5d717e; text-align: center } I'm probably doing something completely wrong -- can you guys help me with this? It's not working Link to comment Share on other sites More sharing options...
nostradamus Posted November 20, 2011 Share Posted November 20, 2011 if the image is in the theme img foler it should look like body { background-image: url(‘../img/dbb5.jpg’); background-color: white; font-size: 11px; font-family: Verdana, Arial, Helvetica, Sans-Serif; color: #5d717e; text-align: center } Link to comment Share on other sites More sharing options...
RevolutionaryLegion Posted November 20, 2011 Author Share Posted November 20, 2011 I copied exactly what you posted into the global.css and it still didn't change anything -- the default white background shows up, and there's nothing else there -- what could be causing this? Link to comment Share on other sites More sharing options...
nostradamus Posted November 20, 2011 Share Posted November 20, 2011 can you give me a url? so i can have a look did you turn force compile on? Link to comment Share on other sites More sharing options...
RevolutionaryLegion Posted November 20, 2011 Author Share Posted November 20, 2011 Yeah, I tried turning on 'Force Compile', and I'll send you the URL Link to comment Share on other sites More sharing options...
nostradamus Posted November 20, 2011 Share Posted November 20, 2011 this should be in you css background-image:url("../img/ussr.jpg"); and the ussr image needs to be in the img folder of your template.(its not there now) make sure you upload it to the correct folder. Link to comment Share on other sites More sharing options...
RevolutionaryLegion Posted November 20, 2011 Author Share Posted November 20, 2011 That's the thing -- I checked through my host's file manager tool AND FileZilla, and the image is in the themes/themename/img folder, and background-image: url ('../img/ussr.jpg'); IS in the global.css of the theme -- it's all right there. So what, the problem is that the website isn't showing the change? This is so damned weird. Link to comment Share on other sites More sharing options...
nostradamus Posted November 20, 2011 Share Posted November 20, 2011 when i look at your css i see this background-image: url("�../img/USSR.jpg�"); so somthing issent working correct in your css check it for errors ps i can see the image now if i remove the � symbols from your css Link to comment Share on other sites More sharing options...
RevolutionaryLegion Posted November 20, 2011 Author Share Posted November 20, 2011 I don't see those speech marks or the question mark/error signs in FileZilla or my host's file manager tool, so what are you using to look at it? Edit: This is very inconvenient and annoying for the future -- I played around with the different tags and speech marks and quote marks in my host's file manager tool, and it finally worked, but this means that the standard, normal scripts for many things will probably have to be tweaked before they work, since in FileZilla it was always correct -- and thank you very much for your help, you saved my work! Link to comment Share on other sites More sharing options...
nostradamus Posted November 20, 2011 Share Posted November 20, 2011 firebug its a firefox addon this is the view i get on your site this is how it should look if your css is the same as in the last image. test the same thing in the default theme. if its working in the original one you have a broken template Link to comment Share on other sites More sharing options...
RevolutionaryLegion Posted November 20, 2011 Author Share Posted November 20, 2011 Yeah, it just required tweaking the tags, and it worked with the non-default theme I'm using -- thank you. Link to comment Share on other sites More sharing options...
Recommended Posts