<?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 Topic: styling individual pages</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Wed, 19 Jun 2013 00:13:00 +0000</pubDate>

<item>
<title>Val on "styling individual pages"</title>
<link>http://themeshaper.com/forums/topic/styling-individual-pages#post-10434</link>
<pubDate>Thu, 04 Mar 2010 13:41:51 +0000</pubDate>
<dc:creator>Val</dc:creator>
<guid isPermaLink="false">10434@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Chris and Ian,&#60;/p&#62;
&#60;p&#62;Hello and Thank you (if I'd found a &#34;Welcome/Introduce Yourself&#34; thread, I would've done so there !).&#60;/p&#62;
&#60;p&#62;I read &#34;A Technical Matter: Parallel Style Sheet Downloading&#34; on the Modular CSS in WordPress Child Themes page. Then read Chris' &#34;How to use a different layout for a certain page?&#34; &#60;/p&#62;
&#60;p&#62;Is there anything &#34;wrong&#34; with conditionally calling different stylesheets like this? Note that the child theme style.css does not do any @import (that's been removed).&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
// Change the page layout if this is the home page&#60;br /&#62;
// Action:  gettherightstyle_css&#60;/p&#62;
&#60;p&#62;function gettherightstyle_css() {&#60;br /&#62;
//  Define the action to take if home.php is loaded: get styles from my child theme:&#60;br /&#62;
    if (is_home())&#60;br /&#62;
    {&#60;br /&#62;
?&#38;gt;&#60;br /&#62;
    &#38;lt;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;&#38;lt;?php echo bloginfo('template_directory') ?&#38;gt;/library/styles/reset.css&#34; /&#38;gt;&#60;br /&#62;
    &#38;lt;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;&#38;lt;?php echo bloginfo('stylesheet_directory') ?&#38;gt;/library/styles/homepage_style.css&#34; /&#38;gt;&#60;br /&#62;
    &#38;lt;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;&#38;lt;?php echo bloginfo('stylesheet_directory') ?&#38;gt;/library/layouts/1c-m-fixed.css&#34; /&#38;gt;&#60;br /&#62;
    &#38;lt;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;&#38;lt;?php echo bloginfo('template_directory') ?&#38;gt;/library/styles/plugins.css&#34; /&#38;gt;&#60;br /&#62;
&#38;lt;?php	}&#60;/p&#62;
&#60;p&#62;     else // for all other pages - go get the thematic styles:&#60;br /&#62;
	{&#60;br /&#62;
?&#38;gt;&#60;br /&#62;
	&#38;lt;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;&#38;lt;?php echo bloginfo('template_directory') ?&#38;gt;/library/styles/reset.css&#34; /&#38;gt;&#60;br /&#62;
	&#38;lt;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;&#38;lt;?php echo bloginfo('template_directory') ?&#38;gt;/library/styles/typography.css&#34; /&#38;gt;&#60;br /&#62;
	&#38;lt;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;&#38;lt;?php echo bloginfo('template_directory') ?&#38;gt;/library/styles/images.css&#34; /&#38;gt;&#60;br /&#62;
	&#38;lt;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;&#38;lt;?php echo bloginfo('template_directory') ?&#38;gt;/library/layouts/2c-r-fixed.css&#34; /&#38;gt;&#60;br /&#62;
	&#38;lt;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;&#38;lt;?php echo bloginfo('template_directory') ?&#38;gt;/library/styles/default.css&#34; /&#38;gt;&#60;br /&#62;
	&#38;lt;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;&#38;lt;?php echo bloginfo('template_directory') ?&#38;gt;/library/styles/images.css&#34; /&#38;gt;&#60;br /&#62;
	&#38;lt;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;&#38;lt;?php echo bloginfo('template_directory') ?&#38;gt;/library/styles/plugins.css&#34; /&#38;gt;&#60;br /&#62;
&#38;lt;?php	} //end the conditional action&#60;br /&#62;
} // Close the function&#60;/p&#62;
&#60;p&#62;// Add our new action to the appropriate place in the theme like so:&#60;br /&#62;
add_action('wp_head', 'gettherightstyle_css');&#60;br /&#62;
&#60;/code&#62;&#60;code&#62;&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>oscar on "styling individual pages"</title>
<link>http://themeshaper.com/forums/topic/styling-individual-pages#post-7085</link>
<pubDate>Mon, 12 Oct 2009 16:20:51 +0000</pubDate>
<dc:creator>oscar</dc:creator>
<guid isPermaLink="false">7085@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;HI,&#60;/p&#62;
&#60;p&#62;Where I put sets about my installation at the code below:&#60;/p&#62;
&#60;p&#62;01.// filter thematic_create_stylesheet to implement your own stylesheets&#60;br /&#62;
02.function my_stylesheet($content) {&#60;br /&#62;
03.    // We test if we're on home or on your frontpage&#60;br /&#62;
04.  if (is_home() &#124;&#124; is_front_page()) {&#60;br /&#62;
05.    // yes, we are .. now let's load the 3c-fixed layout&#60;br /&#62;
06.        $content = &#34;\t&#34;;&#60;br /&#62;
07.        $content .= &#34;&#38;lt;link rel=\&#34;stylesheet\&#34; type=\&#34;text/css\&#34; href=\&#34;&#34;;&#60;br /&#62;
08.        $content .= get_bloginfo('stylesheet_directory') . &#34;/style-home.css&#34;;&#60;br /&#62;
09.        $content .= &#34;\&#34; /&#38;gt;&#34;;&#60;br /&#62;
10.        $content .= &#34;\n\n&#34;;&#60;br /&#62;
11.  } else {&#60;br /&#62;
12.    // we are not .. let's load the 2c-r-fixed layout&#60;br /&#62;
13.        $content = &#34;\t&#34;;&#60;br /&#62;
14.        $content .= &#34;&#38;lt;link rel=\&#34;stylesheet\&#34; type=\&#34;text/css\&#34; href=\&#34;&#34;;&#60;br /&#62;
15.        $content .= get_bloginfo('stylesheet_directory') . &#34;/style.css&#34;;&#60;br /&#62;
16.        $content .= &#34;\&#34; /&#38;gt;&#34;;&#60;br /&#62;
17.        $content .= &#34;\n\n&#34;;&#60;br /&#62;
18.    }&#60;br /&#62;
19.        // $content will be handed back to thematic_create_stylesheet&#60;br /&#62;
20.    return $content;&#60;br /&#62;
21.}&#60;br /&#62;
22.// connect the filter to thematic_create_stylesheet&#60;br /&#62;
23.add_filter ('thematic_create_stylesheet', 'my_stylesheet');&#60;/p&#62;
&#60;p&#62;Already made everything that said in the Chris post.
&#60;/p&#62;</description>
</item>
<item>
<title>mopani on "styling individual pages"</title>
<link>http://themeshaper.com/forums/topic/styling-individual-pages#post-6993</link>
<pubDate>Thu, 08 Oct 2009 13:58:22 +0000</pubDate>
<dc:creator>mopani</dc:creator>
<guid isPermaLink="false">6993@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Tx Chris - I'll work with this and see if I can get the reults I want.&#60;/p&#62;
&#60;p&#62;james
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "styling individual pages"</title>
<link>http://themeshaper.com/forums/topic/styling-individual-pages#post-6978</link>
<pubDate>Wed, 07 Oct 2009 18:45:16 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">6978@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;take a look at this post: &#60;a href=&#34;http://www.wupperpiraten.de/2009/03/how-to-use-a-different-layout-for-a-certain-page/&#34;&#62;How to use a different layout for a certain page?&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>mopani on "styling individual pages"</title>
<link>http://themeshaper.com/forums/topic/styling-individual-pages#post-6975</link>
<pubDate>Wed, 07 Oct 2009 06:24:52 +0000</pubDate>
<dc:creator>mopani</dc:creator>
<guid isPermaLink="false">6975@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;My pages will be static documents, as you'd expect, with content about various projects, each with different subject matter. I want to have the same header and footer (no sidebar) but the option for completely different layouts for each page. &#60;/p&#62;
&#60;p&#62;So my guess is that I can have a different stylesheet for each page which over-rides the defaults. I can handle the styling in slow time but have no idea how to set up the stylesheets, where they go and what code I need to change elsewhere.
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "styling individual pages"</title>
<link>http://themeshaper.com/forums/topic/styling-individual-pages#post-6968</link>
<pubDate>Tue, 06 Oct 2009 15:28:27 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">6968@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;could you please give us some more details?!&#60;/p&#62;
&#60;p&#62;Do you want to change only a few things like colors or so? &#60;/p&#62;
&#60;p&#62;Or .. do want to implement a completely different style / layout?&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>oscar on "styling individual pages"</title>
<link>http://themeshaper.com/forums/topic/styling-individual-pages#post-6966</link>
<pubDate>Tue, 06 Oct 2009 15:11:55 +0000</pubDate>
<dc:creator>oscar</dc:creator>
<guid isPermaLink="false">6966@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Mopani,&#60;/p&#62;
&#60;p&#62;You´ll create all your new css code, for all your pages, into the default.css&#60;br /&#62;
wp-content/themes/thematic/default.css&#60;/p&#62;
&#60;p&#62;Have a Good Jobs,&#60;/p&#62;
&#60;p&#62;oscar
&#60;/p&#62;</description>
</item>
<item>
<title>mopani on "styling individual pages"</title>
<link>http://themeshaper.com/forums/topic/styling-individual-pages#post-6962</link>
<pubDate>Tue, 06 Oct 2009 12:01:40 +0000</pubDate>
<dc:creator>mopani</dc:creator>
<guid isPermaLink="false">6962@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I'm working with thematic, using a child theme. I have a stylesheet and a functions.php in my child folder. &#60;/p&#62;
&#60;p&#62;I have a lot of pages and I want to style each one individually. I can work with CSS reasonably well but I'm not sure about where the stylesheet for each page would go and what adjustments I have to make to any of the other php files for example.&#60;/p&#62;
&#60;p&#62;Any help or pointers to previous posts would be most appreciated. Thanks in anticipation
&#60;/p&#62;</description>
</item>

</channel>
</rss>
