Hello, thank you all for your help.
I've done lots of searches on this forum to find the answer to my problem, but I have not found the answer. So here's my question.
My blog currently has different background images for the homepage and the posts. Recently I have installed a forum on my site and I want to give the forum a unique background color.
I am using 'Simple Press' as the forum software if that matters at all.
I inserted this code in the CSS Insert without success;
body.page-id-7242 {
background: #999999;
}
I'm using W3 Total Cache, but I have disabled the cache for the forum page.
The forum page also uses a custom page template, so it doesn't display the widgets, header, and footer. I used this code for the template;
<?php
/**
Template Name: Page with background only
*/
?>
<html>
<head>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<style type="text/css">
body { background-color: #cccccc; }
#page-content { width: 1024px; margin: 1px auto }
#page-content p { font-size: 13px; font-family: sans-serif; line-height: 1.5em; text-align: justify; }
</style>
<title><?php wp_title( '|', true, 'right' ); bloginfo('name'); ?></title>
<?php wp_head(); ?>
</head>
<body>
<?php while (have_posts()) : the_post(); ?>
<div id="page-content">
<?php the_content(); endwhile; ?>
</div>
</body>
</html>
I tried changing the background from the template as well, but it hasn't worked.
Can anyone help me set a different background color for my forum page?