Author Topic: Adding A Background Image.  (Read 10776 times)

0 Members and 1 Guest are viewing this topic.

Offline RamEEz

  • Newbie
  • *
  • Posts: 25
    • View Profile
Adding A Background Image.
« on: May 29, 2005, 08:38:03 AM »
How can i add a background image to my gallery?
sorry i dont know much about editing *.css files so please guide me how to add a background image (all pages).

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: Adding A Background Image.
« Reply #1 on: May 29, 2005, 01:53:29 PM »
Hi,

in style.css

between body {   and  }
Code: [Select]
  background-image: url(images/your_image.jpg);


or in header.html
between <body>  and  </body>
Code: [Select]
background="images/your_image.jpg"
for header.html to fix the background-image:
between <body>  and  </body>
Code: [Select]
bgProperties="fixed"
Gruß
Kurt

Offline RamEEz

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Adding A Background Image.
« Reply #2 on: May 29, 2005, 02:31:54 PM »
hey thanks alot

Offline jdbinion

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Adding A Background Image.
« Reply #3 on: November 25, 2005, 02:58:16 AM »
O.K...I followed this and it worked. I am using a texture.gif image for the page background. Now I want to make the main table body of my page transparent so the page background texture shows. I edited the style sheet in my templates folder to remove the background color like this:
}

.tablebgcolor {
  background-color: "no";
}

But now I have a blue background that I can't find how to remove. I think this is an image or color code from another source sheet but, can't seem to  find where it is. My objective is to have the bgcolor of the table "transparent". Can someone tell me where I'm going wrong or where this other color (image) code is coming from and how (where) to remove it ?

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: Adding A Background Image.
« Reply #4 on: November 25, 2005, 04:07:23 PM »
Hi,

delete in style.css

.tablebgcolor {
Code: [Select]
background-color: "no";}
I think, the "no" make the blue background :!:

or you delete in all templates the class for this table:
Code: [Select]
class="tablebgcolor"

 :wink:

Kurt

Offline jdbinion

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Adding A Background Image.
« Reply #5 on: November 26, 2005, 12:31:53 AM »
Kurt..I tried taking the background color from the style sheet as you recommended. I still have the blue color there. :roll:

.tablebgcolor {
 
}

Not sure if deleting from all the template pages is a good idea...seems there would be a simpler way in the style sheet.
Any other ideas ?

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: Adding A Background Image.
« Reply #6 on: November 26, 2005, 07:53:09 AM »
Hi,

make a test...
Delete the class only in one template (home.html).
When its not working, a link to your site was important.

Kurt