How do I change the color of my background?

Discussion in 'Blogging' started by LennyP, Jan 23, 2007.

  1. #1
    On my blog, the background (the part outside of everything esle) is white. I would like it to be black. I know black is #000000; I dont know where to change that though. Can you tell me how to change it?
     
    LennyP, Jan 23, 2007 IP
  2. ing

    ing Well-Known Member

    Messages:
    500
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    195
    #2
    Look in your stylesheet.

    In the "Body" section find background-color : #ffffff;

    Change #ffffff to #000000

    The link to your stylesheet can be seen in your source code at the top of your page.

    :)
     
    ing, Jan 23, 2007 IP
  3. LennyP

    LennyP Peon

    Messages:
    779
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #3
    In this part right here?
    That didn't change anything.
     
    LennyP, Jan 23, 2007 IP
  4. ing

    ing Well-Known Member

    Messages:
    500
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    195
    #4
    That didn't work did it... sorry. Try changing the background-color in the #page part as well as there is a div id="page" just after the body tag.

    In this part...

    #page {
    	background-color: white;
    	border: 1px solid #959596;
    	text-align: left;
    	}
    Code (markup):
    See if that does it.
    :)

    Edit - I just noticed there are 2 #page parts in your stylesheet
     
    ing, Jan 23, 2007 IP
  5. LennyP

    LennyP Peon

    Messages:
    779
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #5
    First you want me to change background-color: white; to background-color: #000000; correct? I did that both places and nothing changed. However I did not see anything that said div id="page"
     
    LennyP, Jan 23, 2007 IP
  6. ing

    ing Well-Known Member

    Messages:
    500
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    195
    #6
    Yes correct, I can see you made those changes.
    The div id="page" is in the html (view source), just below the body tag.

    After having a closer look at the code there seems to a background image for the body as well... which looks to be all white... the code I am referring to is..

    body  { background: url("http://best-general-directory.com/blog/wp-content/themes/nikynik-red-2/images/kubrickbgcolor.jpg"); }     
    Code (markup):
    You could try removing that code from your page to see if that makes it use the background colors selected in your stylesheet.

    I can't see anything else that could be affecting the background.
    Perhaps someone else could take a look.
    :)
     
    ing, Jan 23, 2007 IP
  7. LennyP

    LennyP Peon

    Messages:
    779
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I'm guessing this means I need to make changes in the actual file and not from the theme editor?
     
    LennyP, Jan 23, 2007 IP