Hi,
I was going to paste some code from an earlier site that asks for custom colours to be applied to the background of the body element of the page. It uses a custom body class but in wp-framework there is already a custom body class applied "Semantic-Body
it uses the following conditional statement
<?php if (is_page()){ ?>
<body class="<?php the_title(); ?>">
<?php }else{?>
<body>
<?php } ?>
And this in the CSS as an example
body { background: #a7a991; }
body.Archive {background:#3a7281}
I am not sure replacing the body class="<?php semantic_body(); ?> is a good idea so how do I combine them together?
Any help on this would be, well, a real help
Mike
resolved