Advertisement:

Author Topic: Background Colour on Boards  (Read 2899 times)

Offline natasha

  • Jr. Member
  • **
  • Posts: 146
  • Gender: Female
    • Infopet
Background Colour on Boards
« on: January 29, 2007, 08:11:05 PM »
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

Offline KGIII

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,293
  • Gender: Male
  • If you can build it, I can wreck it.
    • Web Hosting
Re: Background Colour on Boards
« Reply #1 on: January 30, 2007, 03:07:42 PM »
In my case it is:

Code: [Select]
/* 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?

Offline natasha

  • Jr. Member
  • **
  • Posts: 146
  • Gender: Female
    • Infopet
Re: Background Colour on Boards
« Reply #2 on: January 30, 2007, 10:44:43 PM »
In my case it is:

Code: [Select]
/* 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

Offline SleePy

  • Let there be light!
  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,832
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: Background Colour on Boards
« Reply #3 on: January 30, 2007, 11:47:23 PM »
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
Support the SMF Support team!
Profiles:
GitHub

Offline KGIII

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,293
  • Gender: Male
  • If you can build it, I can wreck it.
    • Web Hosting
Re: Background Colour on Boards
« Reply #4 on: January 31, 2007, 07:12:02 AM »
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?

Offline natasha

  • Jr. Member
  • **
  • Posts: 146
  • Gender: Female
    • Infopet
Re: Background Colour on Boards
« Reply #5 on: January 31, 2007, 10:31:54 PM »
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

Offline SleePy

  • Let there be light!
  • Site Team Lead
  • SMF Master
  • *
  • Posts: 30,832
  • Gender: Male
  • Thats his happy face.
    • jdarwood007 on GitHub
    • @jdarwood on Twitter
    • SleePy Code - My personal site
Re: Background Colour on Boards
« Reply #6 on: January 31, 2007, 11:04:18 PM »
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

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

 
Jeremy D — Site Team / SMF Developer
Support the SMF Support team!
Profiles:
GitHub

Offline natasha

  • Jr. Member
  • **
  • Posts: 146
  • Gender: Female
    • Infopet
Re: Background Colour on Boards
« Reply #7 on: February 03, 2007, 12:47:03 PM »
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

Offline KGIII

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,293
  • Gender: Male
  • If you can build it, I can wreck it.
    • Web Hosting
Re: Background Colour on Boards
« Reply #8 on: February 03, 2007, 12:52:59 PM »
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?