[Solved] Background images are not working after updating

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
elfduck
Forum Members
Forum Members
Posts: 27
Joined: Thu Dec 18, 2008 6:45 am

[Solved] Background images are not working after updating

Post 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.
Last edited by elfduck on Fri Apr 06, 2012 7:31 pm, edited 1 time in total.
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: Background images are not working after updating

Post 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");
joecrawley
Forum Members
Forum Members
Posts: 11
Joined: Mon Apr 09, 2012 3:01 am

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

Post by joecrawley »

I tried this and it didn't work
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

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

Post by Jos »

Must be another situation then. You have to provide more info
Post Reply

Return to “CMSMS Core”