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] Custom background only for post & category pages.... (http://forum.bytesforall.com/showthread.php?t=9914)

interage Sep 27, 2010 05:09 PM

[SOLVED] Custom background only for post & category pages....
 
hi.

I've got a site where I'm using custom backgrounds for some pages, using this code:

body.page-id-14 {
background: url(http://www.thesite.com/site/wp-conte...kcontact.jpg);
background-repeat: no-repeat;
background-position: left bottom;
background-attachment:fixed;
background-color: #000000;
}

My question is - how do I assign a single background attribute to all post and category pages, while leaving the individual "page" pages with their custom settings?

Thanks!

MM.

lmilesw Sep 27, 2010 06:54 PM

Quick guess
body {
background: url(http://path to image);
background-repeat: no-repeat;
background-position: left bottom;
background-attachment:fixed;
background-color: #000000;
}

interage Sep 28, 2010 05:41 AM

Yep!

Thanks much, as always.

M.


All times are GMT -6. The time now is 02:51 PM.

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