Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] Different background for a single post (http://forum.bytesforall.com/showthread.php?t=4989)

shus Dec 22, 2009 07:18 AM

[SOLVED] Different background for a single post
 
Help me, please, to write code for CSS.


<body class="single postid-6 logged-in">

juggledad Dec 22, 2009 08:21 AM

kind of code? What do you want it to do?

shus Dec 22, 2009 08:28 AM

I would like to change BG colour of single post.
Similar above exemple.

juggledad Dec 22, 2009 11:09 AM

body.postid-6 td.middle {
background: #414141;
}

shus Dec 23, 2009 04:47 AM

Sorry, don't working...

May be, is there another way?

www.webshus.ru

juggledad Dec 23, 2009 05:16 AM

Sorry, I was assuming you had gotten the actual class from your site. Also this thread was for changing a single PAGE, not a single POST. However, if you want to change the background for a single POST you could use this
HTML Code:

div.post-6 {
background:#00ffff
}

Note, in your CSS Insert you, by accident, deleted the closing '}' from the previous CSS Selector

shus Dec 23, 2009 07:54 AM

Yessss!!!

Thank you very much!

You are great as always.


All times are GMT -6. The time now is 04:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.