I manage to get alternate footers by this code. However the background-color won’t change according to the css file. What is overriding this? I didn’t know where else to post this. Anyone?
`<?php if (is_page(’21’) ) : ?>
<?
include( TEMPLATEPATH . ‘/footer.php’ );
?>
<?php else : ?>
<?
include( TEMPLATEPATH . ‘/foot2.php’ );
?>
<?php endif; ?> `
CSS:
#footer{
width:100%;
height:300px;
background-color:#fff;
float:left;
margin:0px 0px 40px 0px;
}
#foot2{
width:100%;
height:200px;
background-color:#bedef5;
float:left;
margin:0px 0px 40px 0px;
}