<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Tag: css modifications</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Thu, 20 Jun 2013 03:32:38 +0000</pubDate>

<item>
<title>Devin on "Predicting CSS cascading in child themes"</title>
<link>http://themeshaper.com/forums/topic/predicting-css-cascading-in-child-themes#post-10659</link>
<pubDate>Thu, 11 Mar 2010 08:08:22 +0000</pubDate>
<dc:creator>Devin</dc:creator>
<guid isPermaLink="false">10659@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;One of the beautiful things about Thematic is the dynamic body classes.  If you only want a style change on the home page, you can easily target purely through the stylesheet.&#60;/p&#62;
&#60;p&#62;You can read this post I wrote &#60;a href=&#34;http://wordpresstheming.com/2009/12/dynamic-body-classes-wordpress-styling/&#34;&#62;http://wordpresstheming.com/2009/12/dynamic-body-classes-wordpress-styling/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Basically, if you want to change an item in the footer of the home page, but not any other page, you css should look like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;body.home #footer h3 {
color: #FFEF33;
margin-bottom: 8px;
font-style: normal;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The text is a different matter.  If the home page is vastly different in terms of layout, you should probably create a new template called home.php and put your changes in there.&#60;/p&#62;
&#60;p&#62;If it's just in the footer, you should just copy footer.php into your child theme directory and use conditional statements.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div id=&#38;quot;footer&#38;quot;&#38;gt;
        &#38;lt;?php get_sidebar(&#38;#39;subsidiary&#38;#39;); ?&#38;gt;
        &#38;lt;div id=&#38;quot;siteinfo&#38;quot;&#38;gt;
                &#38;lt;php if (is_home() &#124;&#124; is_front_page()) {?&#38;gt;
                   &#38;lt;p&#38;gt;Here is home footer text.&#38;lt;/p&#38;gt;
                &#38;lt;?php } else { ?&#38;gt;
                   &#38;lt;p&#38;gt;Here is footer text on rest of site.&#38;lt;/p&#38;gt;
                &#38;lt;?php } ?&#38;gt;
		&#38;lt;/div&#38;gt;&#38;lt;!-- #siteinfo --&#38;gt;
	&#38;lt;/div&#38;gt;&#38;lt;!-- #footer --&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>illustrata on "Predicting CSS cascading in child themes"</title>
<link>http://themeshaper.com/forums/topic/predicting-css-cascading-in-child-themes#post-10594</link>
<pubDate>Tue, 09 Mar 2010 15:21:00 +0000</pubDate>
<dc:creator>illustrata</dc:creator>
<guid isPermaLink="false">10594@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi, I am not at all experienced in all this...but am attempting to both create a child theme, and a unique home page. For the child theme I have given the footer a background color, but when I tried to modify just the text in the footer using #footer etc., the text in the rest of the divs seems to get modified as well - at least the &#34;a&#34; and &#34;p&#34; selectors.&#60;/p&#62;
&#60;p&#62;For example, these modifications end up everywhere:&#60;/p&#62;
&#60;p&#62;#footer li, p {&#60;br /&#62;
	color: 			#AEAEAE;&#60;br /&#62;
	font-size: 		.9em;&#60;br /&#62;
}&#60;br /&#62;
#footer a:link, a:visited, a:active, a:hover {&#60;br /&#62;
	text-decoration: 	none;&#60;br /&#62;
        color:			        #AAAC60;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;While this stays in the footer, as I hoped it would:&#60;/p&#62;
&#60;p&#62;#footer h3 {&#60;br /&#62;
	color: 			#FFEF33;&#60;br /&#62;
	margin-bottom: 	8px;&#60;br /&#62;
	font-style: 	normal;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;For the unique front page, is the best procedure to create a new page.php with a unique name from the exisiting one, put it in the child theme folder and start modifying? Is the a way to link to its own style sheet (once I figure out how to make one)?&#60;/p&#62;
&#60;p&#62;I would very much like to get better at this; I hope to with your help. :)
&#60;/p&#62;</description>
</item>

</channel>
</rss>
