Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Post-Kicker, -Byline & -Footer (http://forum.bytesforall.com/forumdisplay.php?f=17)
-   -   [SOLVED] Change BG-Color of Page only on Homepage (http://forum.bytesforall.com/showthread.php?t=4796)

arts Dec 9, 2009 05:09 PM

[SOLVED] Change BG-Color of Page only on Homepage
 
Hi all,

first: congrats for your great Job & thanks!

Question:
How can i change the color of a Page that only appears on the Homepage - center column?
>>> http://www.arts.ch/

Thx
arts

juggledad Dec 9, 2009 06:57 PM

try this, you have to set the background twice. the first one sets the background for ALL pages of teh home page, the second sets all the 'paged' pages

HTML Code:

body.home td#middle {
background: #red;
}
body.home.paged td#middle {
background: #yellow;
}

you would want to substitute your color for yellow, but this should get you going

arts Dec 10, 2009 08:23 AM

thx for your reply juggledad,
i have placed the proposed code at different (wrong?) places, without effect.
Where exactly i must place this code?

juggledad Dec 10, 2009 08:39 AM

it goes in ATO->Add HTML/CSS Inserts->CSS Inserts

arts Dec 10, 2009 09:11 AM

thanks, i made it so, but without any effect...

juggledad Dec 10, 2009 03:02 PM

it has something to do with being after the
HTML Code:

<!--h1 {
font-size:1.6em;
font-weight:normal;
-->
<!-- Titel Auszeichnung H1 -->

put it before that

arts Dec 12, 2009 04:43 AM

great, thx again - its OK now!

Only with this:

body.home td#middle {
background: #666;
}

and without this:
/*body.home.paged td#middle {
background: #yellow;
}*/

<!--h1 {font-size: 1.6em; font-weight: normal;--> <!-- Titel Auszeichnung H1 -->


All times are GMT -6. The time now is 01:58 AM.

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