Adding a background image?

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
jofel
Posts: 12
Joined: Thu Nov 03, 2005 4:07 pm

Adding a background image?

Post by jofel »

Hi,

how can I add a background image into phpmyfaq?

I tried to add a line in the body from the index.tpl, but didn;t work. I tried to add some lines in several CSS files but doesn't seem to work.

Tried the hints from this topic: viewtopic.php?t=1510&highlight=background+image

but I can't get it to work. I must be overseeing something or placing it in a wrong way or in the wrong place.

Any ideas would be great.

Thnx in advance.
Thorsten
Posts: 15749
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

where do you added it?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jofel
Posts: 12
Joined: Thu Nov 03, 2005 4:07 pm

Post by jofel »

well I tried it in almost every .css file I could find (print, style, color), at random places, in the body of the index.tpl, but no luck really.

Where should it be to let it work?
Thorsten
Posts: 15749
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

add it to template/colors.css:

Code: Select all

/**
* Main body
*/
html, body {
   background: #ffffff;
   color: #000000;
}
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jofel
Posts: 12
Joined: Thu Nov 03, 2005 4:07 pm

Post by jofel »

thanks a lot, that did the trick :)
Post Reply