Page 1 of 1

[Solved] Background images are not working after updating

Posted: Fri Apr 06, 2012 6:39 pm
by elfduck
Hi =)

One of my sites won't show background-images from CSS anymore, not even when I put it to </__body>-tag.

Example page:
http://www.magalacrima.com/index.php?page=main-chamber

Background-image:
http://magalacrima.com/images/background.jpg

Background-image line from CSS:

Code: Select all

background-image: url("images/background.jpg");
Link to the CSS-file:
http://www.magalacrima.com/tmp/cache/st ... f691ae.css

Also my CSS was validated using Jigsaw, The W3C CSS Validation Service. Everything should work fine.

Re: Background images are not working after updating

Posted: Fri Apr 06, 2012 6:46 pm
by Jos
If you have the {cms_stylesheet} tag in your template in stead of {stylesheet} then you have to use

Code: Select all

background-image: url("[[root_url]]/images/background.jpg");

Re: [Solved] Background images are not working after updatin

Posted: Mon Apr 09, 2012 4:51 am
by joecrawley
I tried this and it didn't work

Re: [Solved] Background images are not working after updatin

Posted: Mon Apr 09, 2012 1:55 pm
by Jos
Must be another situation then. You have to provide more info