How do I go about changing the body color in a subtemplate?

Hello all!
I have gotten around to using a subtemplate how do I go about changing the body color and other more general and global attributes?
would creating a second header, calling it header2.php work? doesn’t seem likely. calling a something in the get header function?

thx
D

You mean child theme in WordPress? Just duplicate the files in child theme and correct them as you wish.

Hi, little bit diff & not using child themes. but…using a sub template.
So I created a diff page. called it subtemplate.php put the template name w/in php comments at the top of the page.
all in the same dir/folder.

And…found out the answer & putting it here in case it help anyone else.

under the original bit where you tell wp to grab the css style sheet.

	<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>">

you add this second bit.

	<?php if(is_page_template('subTemplate.php')) {?>
	<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/subtemplate.css">
	<?php  }?>

it works. Happy :slight_smile: