Support Forum

Need Help With Changing Background Image Please

EV Evgeni
Evgeni
Member

Hey everyone,

I am new to SimplePress and so far I love it! I do have a small issue though that I cant seem to solve. I created my own custom theme based on the css-only theme and got it working perfectly. The problem I have is that when I need to change the background to an image in my css file, simplePress automatically inserts the url to my styles folder. So for example I want to do this:

background:url(“http://www.mysite.com/wp-content/uploads/img1.png”);

but when I run the forum i get this:

background:url(“http://www.mysite.com/wp-content/sp-resources/forum-themes/myTheme/styles/”http://www.mysite.com/wp-content/uploads/img1.png”);

and obviously because of this, my image does not load.

 

Any help would be greatly appreciated. Thank you.

3 Answers

New Answer

MP Mr Papa
Mr Papa
Member

interesting… but dont think that is us…  we dont change the css or contents of a css class like that…

wait… are you using the combined css cache file?  try turning it off… forum – options – global settings…

EV Evgeni
Evgeni
Member

Thanks for the reply! I ended up solving the problem. I put the background URL in double quotes but when I took out the quotes it worked perfectly.

Thanks again.

YS Yellow Swordfish
Yellow Swordfish
Member

Ah interesting, You can use single quotes or no quotes – but I didn’t know double quotes were not allowed.