News:

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

Main Menu

Background color in default theme.

Started by Tyrsson, May 04, 2008, 03:03:46 AM

Previous topic - Next topic

Tyrsson

I am very new to this and I was wondering if anyone would tell me which template I need to change in the default theme to change the background color to black. I want to change the background not the tables.

Any help would be greatly appreciated!!

Thank you.
PM at your own risk, some I answer, if they are interesting, some I ignore.

Jade Elizabeth

No template at all!
You need to modify the CSS, it all explains itself in the file. You can download and edit this, or edit it through the forum by creating a copy of the default through Admin > Themes and layout. Once you have done that, click the modify themes tab, and select to edit the themes stylesheet. It updates automatically, so you can see all the changes before saving them :D.
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Deaks

to explain what alundra is suggesting ... firstly it is never advised to modify the default theme directly should always make a copy and modify the copy.

Now in the style.css you are looking for a tag called body
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Jade Elizabeth

Yup :)

The core theme is the fallback for all the other themes, if you accidentally mess it up, nothing will work out :(.

Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Tyrsson

#4
You guys are AWESOME!!!!! Thank you soOOOOooo much!!!

PM at your own risk, some I answer, if they are interesting, some I ignore.

Jade Elizabeth

You're welcome :D

Come back if you need more help :D
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Tyrsson

Ok guys and gals after looking into this, and at the risk of sounding very slow about all this (which I am by the way).

I have 2 style.css files listed in the default theme.
They are:

style.css
style.css~

Which one of these is the forum working from?
PM at your own risk, some I answer, if they are interesting, some I ignore.

Jade Elizabeth

The one without the ~

the file with the ~ is a backup file. I personally find these so annoying that I turned them off Admin > Packages > Options/settings (last tab) > UNCHECK Create Backup versions of replaced files with a tilde (~) on the end of their names.

however, you really should BACKUP all of your files, just incase something happens :D
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Tyrsson

That is what I thought but I wanted to make sure  :).

As I said before I am very new to all this. I try to keep a current back up, because I have had a problem or two lol.

You guys are the best!!!!

You will see a lot more of me around here trust me!!

Thanks!!!!!
PM at your own risk, some I answer, if they are interesting, some I ignore.

Tyrsson

You can mark this one as resolved!!

SMF and its staff is the absolute BEST!!

Thanks again!!!
PM at your own risk, some I answer, if they are interesting, some I ignore.

Jade Elizabeth

Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Advertisement: