Jump to content


Photo
- - - - -

Background Color Single Post And Page


Best Answer Rob , 29 November 2012 - 11:54 PM

Stefano,

 

You've had either too much espresso or not enough Chianti.

 

CSS...

Page = #page  as in

 
#page {
    color: #C00000;
}

Page and Page-Canvas = #page, .page-canvas  as in

 
#site #page .page-canvas, #site #dynamic-content .page-canvas {
    margin: 0 auto;
}

And the body of your site, where the site-wide color is set is:

 
body, body.fixed_width {
    background-color: #000000;
}

And writing all that took me 2 minutes, not 2 hours.  Use Firebug!

Go to the full post


  • Please log in to reply
2 replies to this topic

#1 stefanoferruggiara

stefanoferruggiara

    Advocate

  • Members
  • 564 posts
  • LocationVerbania (VB) - Italy
  • Country: Country Flag

Posted 29 November 2012 - 08:39 PM

Sorry..

please.. it's 2h that i try to find the right css code for change the background color in a single post or page.. you can suggest me please?

 

MY SITE:

Please Login or Register to see this Hidden Content

 

Thanks for fast reply;)

Stefano



#2 stefanoferruggiara

stefanoferruggiara

    Advocate

  • Members
  • 564 posts
  • LocationVerbania (VB) - Italy
  • Country: Country Flag

Posted 29 November 2012 - 08:42 PM

...for body and content background, if different.



#3 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 29 November 2012 - 11:54 PM   Best Answer

Stefano,

 

You've had either too much espresso or not enough Chianti.

 

CSS...

Page = #page  as in

Please Login or Register to see this Hidden Content

Page and Page-Canvas = #page, .page-canvas  as in

Please Login or Register to see this Hidden Content

And the body of your site, where the site-wide color is set is:

Please Login or Register to see this Hidden Content

And writing all that took me 2 minutes, not 2 hours.  Use Firebug!