Koen
asked 11 years ago

Hello,
Another short question. Is it possible to use an image as background instead op a solid color?  Not the background of the blocks but the background of the page?
 
Thanks!

3 Answers
Kido D
answered 11 years ago

Hi Koen,
To change the background from color to image, you can use the CSS code here:

<style>
.block.head .block-inner {
background: url('http://placehold.it/600x600') no-repeat center;
}
</style>

Regards,

Koen van Barneveld
replied 11 years ago

Hi Kido D,

Thank you very much for your quick reply.
I’ve tried the code but this one changes the background of the blocks. I want to change te background of the entire page.. Is that possible?

Koen
answered 11 years ago

already found out!:-)
<style>
div#inner-wrap {
background: url(‘http://www.google.nl/image.jpg&#8217😉 no-repeat; /* change to your image */
}
</style>

Kido D
answered 11 years ago

Perfect!
If you have further questions please do not hesitate to contact us here. Also, there is another solution for your issue:

<style>
body {
background-color: #fff;
background-image: url('http://i.imgur.com/edFLD8S.jpg');
background-repeat: repeat;
background-position: top left;
background-attachment: fixed;
}
</style>

Cheers!

Lucy Macedo
replied 11 years ago

Hi I want to change the background color from white to black, and in some blocks I want to have a picture. where do I paste this code?

Dominic Staff
replied 11 years ago

You can tell me title theme which you are using.

Lucy Macedo
replied 11 years ago

Dw page modern – you helped me install. Thank you by the way.

Powered by DW Question & Answer Pro