News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Background Colour on Boards

Started by natasha, January 29, 2007, 08:11:05 PM

Previous topic - Next topic

natasha

SMF Version: SMF 1.1.1
For those of you who have a coloured background on your message boards, can you tell me how you did that? I have changed all the colours of my message board (through the style sheet) can't seem to find or figure out how to change the background. Maybe I need to create something (new line) within my style sheet? I see that the SMF boards have a slight blue background. If I do need to create something, can you tell me what it is or how I write it?

Thanks!
Thanks!

Natasha

KGIII

In my case it is:


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


If you have a copy of your stylesheet someone can likely edit it for you if you can't figure it out with the above example.

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

natasha

Quote from: KGIII on January 30, 2007, 03:07:42 PM
In my case it is:


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


If you have a copy of your stylesheet someone can likely edit it for you if you can't figure it out with the above example.


Could I not just copy and paste the one you posted onto my style sheet? I could just change the colour code to the one I want?
Thanks!

Natasha

SleePy

natasha,

Look for that bit of code in your style.css

then change:
background-color: #F6F6F6;

to the color you want it to be. google around for hex color values if you want to continue using those
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

KGIII

Quote from: SleePy on January 30, 2007, 11:47:23 PM
google around for hex color values if you want to continue using those

Here's a handy free tool for such:
http://prall.net/colorcop/features

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

natasha

I don't have that code in my style sheet. I copied yours into mine and changed the colour, but it made all my tables white. ???
Thanks!

Natasha

SleePy

natasha,

Maybe I missed it but checked your forum and saw you where using classic theme. Should of let us know that. We where looking at the default theme

If you add this to the start of your style.css and edit it to match the colors you want it should work


/* The main body of the entire forum. */
body
{
background-color: #F6F6F6;
}


Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

natasha

Sorry didn't realize myself which theme I was using or that I should have mentioned it. I used your code and it worked great, thanks so much!

Problem solved!

Thanks!

Natasha

KGIII

Thanks for letting us know that you got it all figured out.

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

Advertisement: