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)
-   -   Post Container background on all pages except Home page (http://forum.bytesforall.com/showthread.php?t=17015)

cway Mar 13, 2012 10:48 AM

Post Container background on all pages except Home page
 
I have a background image under:
Style POSTS/PAGES > Post Container

However I'd like no background image displayed on the Home page.

Does anybody know of a way to do this?

Atahualpa 3.7.3
WP 3.3.1
http://dev.advantagecardservices.com/ ( links in the menu don't work yet )

Thanks!
Cameron

cway Mar 13, 2012 11:16 AM

Got it:

Code:

body.home td#middle {
padding: 0px;
background-image: none;
}

body td#middle {
padding: 0px;
background-image: URL("/images/rw_1466642.jpg");
background-repeat: repeat-x;
}


juggledad Mar 13, 2012 11:18 AM

sure - use FireBug in Firefox to find the container and see what CSS is appied to it then look at the classes on teh <body> statement and use the 'body.xxxxx' class to prefix the CSS Selector and then use 'background-image: none;' as the rule.

cway Mar 13, 2012 11:25 AM

Although I can't seem to eliminate that padding/spacing

Code:

body.home td#middle {
padding: 0px !important;
margin: 0px !important;
background-image: none;
}


juggledad Mar 13, 2012 12:38 PM

Are you trying to eliminate the background for the post container or the center area (the area between the header and footer and between the sidebars)?

cway Mar 13, 2012 12:54 PM

I've got the background request figured out.
No background: http://dev.advantagecardservices.com/
With background: http://dev.advantagecardservices.com...rral-partners/

I removed the styling in Style POSTS/PAGES > Post Container
and added the below custom styling under Add HTML/CSS Inserts.

Now I can't seem to remove the extra spacing on the right and left sides of the home page: http://dev.advantagecardservices.com/

Code:

body.home td#middle {
padding: 0px;
margin: 0px;
background-image: none;
}

body td#middle {
padding: 0px;
background-image: URL("/images/rw_1466642.jpg");
background-repeat: repeat-x;
}


juggledad Mar 13, 2012 02:55 PM

what do you have at ato->Style POSTS & PAGES->BODY Box?

btw - with the color now white, the Text of the first widget is not visable unless you hi-lite it

cway Mar 14, 2012 09:09 AM

Doh! Thanks!


All times are GMT -6. The time now is 01:50 PM.

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