Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: juniorj23 - helmikuu 01, 2009, 02:59:15 IP

Otsikko: how to change my background to an image in smf 2.0 beta 4
Kirjoitti: juniorj23 - helmikuu 01, 2009, 02:59:15 IP
how to change my background to an image in smf 2.0 beta 4 i tried but don't work look http://dakaration.com
Otsikko: Re: how to change my background to an image in smf 2.0 beta 4
Kirjoitti: juniorj23 - helmikuu 02, 2009, 07:32:10 AP
any help plzzz
Otsikko: Re: how to change my background to an image in smf 2.0 beta 4
Kirjoitti: Kermit - helmikuu 02, 2009, 07:40:16 AP
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

Otsikko: Re: how to change my background to an image in smf 2.0 beta 4
Kirjoitti: juniorj23 - helmikuu 02, 2009, 02:27:16 IP
i dont find the top code
Otsikko: Re: how to change my background to an image in smf 2.0 beta 4
Kirjoitti: Kermit - helmikuu 02, 2009, 02:46:40 IP
Lainaus käyttäjältä: juniorj23 - helmikuu 02, 2009, 02:27:16 IP
i dont find the top code


Huh,i took the code from your own site

http://dakaration.com/forum/Themes/default/style.css

You should better look carefully
Otsikko: Re: how to change my background to an image in smf 2.0 beta 4
Kirjoitti: _Ziggy_ - helmikuu 03, 2009, 05:52:20 AP
Thanks a lot for your answer!

It works in 2.0 RC1 as well.

8) 8) 8)
Otsikko: Re: how to change my background to an image in smf 2.0 beta 4
Kirjoitti: juniorj23 - helmikuu 03, 2009, 08:37:58 AP
ok thnx
Otsikko: Re: how to change my background to an image in smf 2.0 beta 4
Kirjoitti: nsdcblue - helmikuu 04, 2009, 06:50:59 AP
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
Otsikko: Re: how to change my background to an image in smf 2.0 beta 4
Kirjoitti: greyknight17 - helmikuu 14, 2009, 01:29:03 IP
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.