Well the background color can be set via the theme options in the Dashboard.
Appearance>Theme Options
As far as how it’s all controlled. (grab a coffee/break), as I understand it.
In the functions.php – At lines 588-598 see this code?
<?php
}
function neutica_wp_head() { ?>
<link href="<?php bloginfo('template_directory'); ?>/colors.php" rel="stylesheet" type="text/css" media="screen, projection" />
<?php }
add_action('wp_head', 'neutica_wp_head');
add_action('admin_menu', 'neutica_add_admin');
?>
This is what is called from the color.php in this code.
<?php
require_once( dirname(__FILE__) . '../../../../wp-config.php');
require_once( dirname(__FILE__) . '/functions.php');
header("Content-type: text/css");
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } }
?>
Not too sure, but I think the php has a higher heirarchy than the css stylesheet.
Maybe someone can clarify that for us. I’m new to wp theming. Been doing phpbb3 for the last little bit. ??