1. You code is commented.
2. You are missing "transparent" part of background colour.
3. add bg to body not html:
- Code: Select all
body {
background: transparent url(images/gesunden.png) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
Yet even with this code, browser expects to find file:
templates/gk_news2/css/images/gesunden.png
and I don't see one there, so you need to use relative path:
http://gesunden.org/images/gesunden.pngSo the finished working code looks this way:
- Code: Select all
body {
background: transparent url('http://gesunden.org/images/gesunden.png') no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
but there is still a lot of things to do as background will be seen through opaque elements.