Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We have at picture that we wish to use as a background in the contentarea, on the old theme we used, we just put in this in the styles.css:
body {
background-image: url("http://our site/themes/pixture_reloaded/images/moerkmur.jpg");
background-repeat:repeat;
And ofcourse we have uploaded the picture moerkkur.jpg to the images folder.
This doesn't do it.
Is it just not possible, or how do we do it right?
Comments
Comment #1
Deepika.chavan CreditAttribution: Deepika.chavan commentedHi,
I do not understand where exactly you want to use that image as background but if you have that image in '/pixture_reloaded/images' folder then please try using following css code.
Please replace body attribute according to your requirement.
Rgrds,
Deepika Chavan.
Comment #2
deajan CreditAttribution: deajan commentedI have successfully changed the headerd image by editing pixture_reloaded/color/color.inc file with the following:
// Images to copy over
'copy' => array(
//'images/menu-collapsed.gif',
//'images/menu-expanded.gif',
'images/large-alert.png',
...
'images/your_image.png',
),
and then comment out this line:
// 'images/header.png' => array( 0, 0, 512, 88),
For your background image, you have to add a line in the "images to copy over" section naming your file.
Cheers,
www.badministrateur.com
Comment #3
inekew CreditAttribution: inekew commentedIt took some reloading and of course pointing in the styleshet...
//Hi I tried doing this, as I also want to change the header picture.
//but it does not show!
//Replacing the header.png file in my images folder did not do anything either.
//Or do you have to reset everything to the default settings first and than make the changes?
//I would appreciate your help!
//Thanks
//Ineke