News:

Wondering if this will always be free?  See why free is better.

Main Menu

Changing Theme backgrounds

Started by Mathius5, January 29, 2011, 10:42:34 AM

Previous topic - Next topic

Mathius5

How do i Change the Background of a Theme,

i'm using smf 2.0 Rc4.

with a webhost and i'm wondering how to change it \ which file.


Mathius5

I'm using SkmNight, Smf 2.0 Rc4 Theme.

kat

I can't find that one, here.

Is it one of ours?

Mathius5

Nope,

But Do you know which file you'd  usually go to , to change the background?.

kat

It would largely depend on the theme.

If it has a background image, already, it'll be shown in index.css, in the theme's "css" directory.

If it already has an image as a background, you could just replace the graphic with your own.

kat

Just found the theme.

It doesn't have a background image, as such.

You'd have to add something like this to the index.css file.

/* The main body of the entire forum. */
body
{
background-image: url(http://imageURL/Background.jpg);

Change the URL/filename to suit, obviously.

AST3R1X

In skm Night look in the index.css and around line 35

Find

body {
    background: none repeat scroll 0 0 #23292E;
    font: 78%/130% "Arial","Verdana","Helvetica",sans-serif;
    margin: 0 auto;
    padding: 0;
}


Change

#23292E


To the colour you wish to have for a background.

Ifyou wish to add a image to the backtground just add the location of the image as k@t said

Advertisement: