Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

[SOLVED] Unable to change individual page background w/ body.page-id-


 
Prev Previous Post   Next Post Next
  #1  
Old Sep 24, 2011, 04:52 PM
tikijj
 
8 posts · Jul 2011
[SOLVED] Unable to change individual page background w/ body.page-id-

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?
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to Change Headline Box Background Color robtuk Post-Kicker, -Byline & -Footer 1 Apr 12, 2011 05:01 AM
want to change the background image for the body Hooday Header configuration & styling 5 Apr 20, 2010 10:14 AM
[SOLVED] Different Background color on page around the body Sbaker Header configuration & styling 4 Sep 18, 2009 12:45 PM
Change background colors for each individual page wing23 Atahualpa 3 Wordpress theme 7 Aug 15, 2009 04:08 PM
Change background color of individual widgets Photokitchen Sidebars & Widgets 4 May 9, 2009 05:55 AM


All times are GMT -6. The time now is 10:07 AM.


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