Background picture

All style (template, theme and imageset) related questions for the new release; advice, feedback here please.
Post Reply
Skyler
Registered User
Posts: 1
Joined: Sat Dec 16, 2006 9:43 pm

Background picture

Post by Skyler »

how can i add a background picture in my template?
what code should i add in css file?
User avatar
Highway of Life
Registered User
Posts: 1399
Joined: Tue Feb 08, 2005 10:18 pm
Location: I'd love to change the World, but they won't give me the Source Code
Contact:

Re: Background picture

Post by Highway of Life »

FIND the Body class in your stylesheet, and add the background-image.
Pretty simple. :)
Image
itunes66
Registered User
Posts: 169
Joined: Tue Feb 08, 2005 12:28 am

Re: Background picture

Post by itunes66 »

ha ha

find

Code: Select all

BODY {
... some code will be here ...
}
and add after BODY {

Code: Select all

background-image: url('url/to/image/here.gif'); 
2 things i like about you hmm.. ill have to get back to you on that one
Casyan
Registered User
Posts: 2
Joined: Sat Dec 23, 2006 2:26 am

Re: Background picture

Post by Casyan »

What file i need to open to find that code to add a backround.
P.S Im new in phpbb!
itunes66
Registered User
Posts: 169
Joined: Tue Feb 08, 2005 12:28 am

Re: Background picture

Post by itunes66 »

root/styles/subSilver/theme/stylesheet.css

where root is the forum root like mine on my development server is forums and it could be dev/forums/ ect... it can be almost anything

That cover it?
2 things i like about you hmm.. ill have to get back to you on that one
Casyan
Registered User
Posts: 2
Joined: Sat Dec 23, 2006 2:26 am

Re: Background picture

Post by Casyan »

i got phpbb 2.01 not phpbb3
itunes66
Registered User
Posts: 169
Joined: Tue Feb 08, 2005 12:28 am

Re: Background picture

Post by itunes66 »

root/templates/subSilver/subSilver.css
2 things i like about you hmm.. ill have to get back to you on that one
User avatar
Highway of Life
Registered User
Posts: 1399
Joined: Tue Feb 08, 2005 10:18 pm
Location: I'd love to change the World, but they won't give me the Source Code
Contact:

Re: Background picture

Post by Highway of Life »

Casyan wrote: i got phpbb 2.01 not phpbb3

You might want to try: http://phpbb.com/phpBB for all of your phpBB 2.01 support needs.

Thank you for visiting area51.
Image
User avatar
karlsemple
Registered User
Posts: 480
Joined: Mon Jan 23, 2006 8:49 am
Location: Hereford
Contact:

Re: Background picture

Post by karlsemple »

Casyan wrote: i got phpbb 2.01 not phpbb3



I hope you mean 2.0.21 8O and not 2.0.1, but as above you should be posting here http://www.phpbb.com/phpBB/viewforum.php?f=1 for phpBB 2 support :)
Post Reply