Advertisement:

putting a background picture behind forum

Aloittaja RebelRose, toukokuu 15, 2006, 05:03:25 IP

« edellinen - seuraava »

RebelRose

I would like to put a background picture behind the forum, is this possible and if so how do I do it.

I am using the latest version of smf with the default theme.

Deaks

#1
open your style.css and look for

[code]/* The main body of the entire forum. */
body
{
background-color: #E5E5E8;
margin: 0px;
padding: 12px 30px 4px 30px;
}


and add

background-image: url(images/??);


so it looks like

body
{
        background-image: url(images/??);
background-color: #E5E5E8;
margin: 0px;
padding: 12px 30px 4px 30px;
}


make sure te image is in the themes images directory and where i have the ??  change that to the image name and extensions (.jpg .gif  etc)[/code]
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

RebelRose

#2
Thank you so much, worked like a charm. I was a bit worried because I am still very new to code and php, all that stuff.



Thank You

SOcRatEs120

Courage is not an absence of fear but doing inspite of it!

Deaks

~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

SOcRatEs120

Lainaus käyttäjältä: SOcRatEs120 - toukokuu 17, 2006, 03:03:43 AP
It did for me as well. Thank you! ;)

Hmmmm?
I spoke/typed too soon.
I'm using smFox theme, which has an entry just like you show above.
I modded code correctly becuase it worked for forum default theme.
Now looking at this textarea I'm posting in, the smFox does not have
the light blue margins. I'm think smFox has a span feature some where.
I'll go to his site to see.
I do know this works!
Forgive me for being new to css.
Courage is not an absence of fear but doing inspite of it!

Advertisement: