Advertisement:

how to change my background to an image in smf 2.0 beta 4

Aloittaja juniorj23, helmikuu 01, 2009, 02:59:15 IP

« edellinen - seuraava »

juniorj23

how to change my background to an image in smf 2.0 beta 4 i tried but don't work look http://dakaration.com


Kermit

Themes/default/style.css

Koodi (find) [Valitse]

/* set a fontsize that will look the same in all browsers. */
body
{
font: 95%/90% Verdana, Helvetica, sans-serif;
background: #E5E5E8;
margin: 0;
padding: 12px 0 4px 0;
}



Koodi (replace with) [Valitse]

/* set a fontsize that will look the same in all browsers. */
body
{
font: 95%/90% Verdana, Helvetica, sans-serif;
background: #E5E5E8;
margin: 0;
padding: 12px 0 4px 0;
        background-image: url(images/bg.jpg);
        background-attachment: fixed;
        background-repeat: repeat;
}



and put a  backgroundimage with the name bg.jpg in your Themes/default/images directory

My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Lainaa
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein


Kermit

My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Lainaa
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

_Ziggy_

Thanks a lot for your answer!

It works in 2.0 RC1 as well.

8) 8) 8)
Bluesforum.com   2.0                     Bluesforum.nl   2.0
Rockabilly-forum.com   2.0              Bluesharp.nl   2.0
Bungalowpark-forum.nl   2.0        Eee pad forum   2.01
Cristiano Ronaldo   2.02              Lockout Tagout   2.02


Looking to buy existing forums, send pm.


nsdcblue

our forum just upgraded to SMF 2.0 Beta 4 http://newfoundwebbers.com/newfiechat/index.php

did a search to add a background tile and found this thread, so i tried but left out the background attachment fixed line, thinking that since its a tile, that line wouldnt apply.  twas a no go
any suggestions would be appreciated. the css we had before this seems a little different and being new to this its thrown me off

greyknight17

nsdcblue, I'm not sure I understand your question there. Open up a new topic and let us know what the issue is.

Since the original poster's issue is resolved, this topic will be marked as solved.

Advertisement: