Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

Help on style sheet for RC2

Aloittaja Bigguy, tammikuu 10, 2006, 10:02:49 IP

« edellinen - seuraava »

Bigguy

Would it be hard to change/add a background image to smf RC2  ???

EDIT: If I edit this part of the code in the default themes style sheet:

Lainaa/* The main body of the entire forum. */
body
{
   background-color: white;
   margin: 0px;
   padding: 0px;

were it says background color I would change that to reflect a url to a file (.jpg or .gif) that is in the images directory of the current theme.

If I substitute this line:
Lainaabackground-color: white;

for this:
Lainaabackground-image: url('/smf/Themes/default/images/background.jpg');

will it work ???

NOTE: originally posted here(I didnt know where the right place was,sorry): background

Bigguy

Ok thats what I did I downloaded the styles.css file from the default directory in the theme folder and changed the line as above. and it works. Sorry for all this posting.

Advertisement: