News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Image as a background

Started by yatsek, February 28, 2011, 03:59:55 AM

Previous topic - Next topic

yatsek

Hello,

As in topic, I have SMF 2.0 and theme: I love WP. adress: hxxp:irisonline.pl [nonactive]. Can anybody tell me how to put image as a background? I tried to change it in CSS and index template but maybe I was doing wrongly. Help me please, cause i have no ideas now. Thx in advance.

Hj Ahmad Rasyid Hj Ismail

Find backdrop.png in your index.css and change it to your image file (with its path of course).

yatsek

I dont have such file in my index.css...

Oldiesmann

Michael Eshom
Christian Metal Fans

yatsek

Quote from: yatsek on February 28, 2011, 03:59:55 AM
Hello,

As in topic, I have SMF 2.0 and theme: I love WP. adress: hxxp:irisonline.pl [nonactive]. Can anybody tell me how to put image as a background? I tried to change it in CSS and index template but maybe I was doing wrongly. Help me please, cause i have no ideas now. Thx in advance.

I love WP is my theme. Replace xx with tt and this is my adress.

kat

This theme... Where did you get it from?

Is it an SMF theme? Or, a Wordpress one?

yatsek

Im not really sure where i got it that one,  until now everything was working well, but the hell how can i put this image as background?

kat

Well, if it was an SMF theme, you'd need to do what ahrasis suggested.

If it's some other theme, you'd have to ask the author of the theme.

Hj Ahmad Rasyid Hj Ismail

As I said, in your index.css exactly in this code:
/* Set a fontsize that will look the same in all browsers. */
body
{
background: dark grey;
color: #2a3847;
font: 9pt arial, helvetica, sans-serif;
margin:0;
padding:0;
}

change your background to your preferred background url. Something like this:
background: #E9EEF2 url(../images/theme/backdrop.png) repeat-x;

Advertisement: