Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Can't make up your mind re: background color? (http://forum.bytesforall.com/showthread.php?t=1204)

paulae Apr 10, 2009 05:55 AM

Can't make up your mind re: background color?
 
I found a plugin that lets you set a different background color or image post by post. I doubt I'll use it much, but it does give you a lot of flexibility. I have checked it out only by changing one post's background from white to gray, just to see if it works. It does. I'm not vouching for its overall safety, though, since I haven't used it much.

http://blogtap.net/custom_post_background_plugin.shtml

Flynn Apr 10, 2009 07:23 PM

You can do this just with CSS though, if I understood what the plugin does

CSS Insert, i.e.

HTML Code:

div#post-152 {
background: #cccccc;
}


paulae Apr 11, 2009 10:20 AM

That's great!

I guess the plugin is good for folks who aren't comfortable using CSS.

Is Atahualpa unusual in letting you insert CSS this way?

Flynn Apr 11, 2009 10:04 PM

This post-152 is created by WP. I had turned it off in earlier WP versions because I thought that classes and ID's that aren't used by me would just clutter the source code until I realized that having many extra classes can come in handy.

And Atahualpa is now getting extra CSS on top of what WP provides: The <BODY> tag of each page has several classes and an ID too now, so you can style any specific element on any specific page.

body#body-page-13 div.post {
...
}

Styles the div.post container on the page with ID 13


All times are GMT -6. The time now is 07:08 PM.

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