<?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: Full Width Custom Design on Homepage</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Thu, 23 May 2013 11:00:04 +0000</pubDate>

<item>
<title>helgatheviking on "Full Width Custom Design on Homepage"</title>
<link>http://themeshaper.com/forums/topic/full-width-custom-design-on-homepage#post-20052</link>
<pubDate>Mon, 28 Mar 2011 19:30:52 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">20052@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;&#60;a href=&#34;http://themeshaper.com/forums/topic/remove-sidebar&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/forums/topic/remove-sidebar&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;just insert your own brand of conditional logic&#60;/p&#62;
&#60;p&#62;see the codex for more on conditional logic&#60;br /&#62;
&#60;a href=&#34;http://codex.wordpress.org/Conditional_Tags&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Conditional_Tags&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>mrmikeman on "Full Width Custom Design on Homepage"</title>
<link>http://themeshaper.com/forums/topic/full-width-custom-design-on-homepage#post-20048</link>
<pubDate>Mon, 28 Mar 2011 18:22:18 +0000</pubDate>
<dc:creator>mrmikeman</dc:creator>
<guid isPermaLink="false">20048@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;how do i assign the full page template to my home page seeing is my home page is not static, i need my home page/category archive search etc,  to be full width but all my other pages/posts to have the side bar like normal..
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Full Width Custom Design on Homepage"</title>
<link>http://themeshaper.com/forums/topic/full-width-custom-design-on-homepage#post-18686</link>
<pubDate>Tue, 25 Jan 2011 13:07:28 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">18686@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;i'd probably try if(is_page_template('page-template-template-page-fullwidth.php'))&#60;/p&#62;
&#60;p&#62;check the wordpress codex for conditional tags
&#60;/p&#62;</description>
</item>
<item>
<title>andycheeseman on "Full Width Custom Design on Homepage"</title>
<link>http://themeshaper.com/forums/topic/full-width-custom-design-on-homepage#post-18685</link>
<pubDate>Tue, 25 Jan 2011 12:05:06 +0000</pubDate>
<dc:creator>andycheeseman</dc:creator>
<guid isPermaLink="false">18685@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Magic.&#60;/p&#62;
&#60;p&#62;I think I've come up with a solution by mixing the two options.&#60;/p&#62;
&#60;p&#62;I.e. I've assigned the default full page template to my 'homepage' page in WP, copied the three '.page-template-template-page-fullwidth-php' CSS rules into my childs CSS and modified their values to suit (overiding the default values) and finally hooked the necessary CSS into the homepage at 'thematic_abovecontent' using the following code.&#60;/p&#62;
&#60;p&#62;I'm unsure as to if I've chosed the right hook or exactly how the '.page-template' thing gets selected, but its a great learning curve.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
// Custom Homepage Above Loop&#60;br /&#62;
function custom_homepage_above_loop() {&#60;br /&#62;
	if (is_home() &#124;&#124; is_front_page()) {?&#38;gt;&#60;/p&#62;
&#60;p&#62;		CODE FOR THE HOMEPAGE BEFORE THE LOOP GOES HERE&#60;/p&#62;
&#60;p&#62;	&#38;lt;?php&#60;br /&#62;
	}&#60;br /&#62;
}&#60;br /&#62;
add_action('thematic_abovecontent', 'custom_homepage_above_loop');&#60;/p&#62;
&#60;p&#62;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Thanks again,&#60;br /&#62;
Andy.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Full Width Custom Design on Homepage"</title>
<link>http://themeshaper.com/forums/topic/full-width-custom-design-on-homepage#post-18684</link>
<pubDate>Tue, 25 Jan 2011 10:51:03 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">18684@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;as i said you can either copy it and keep the same name, in which case you will automatically get the dynamic body class of .page-template-template-page-fullwidth-php that will trigger the full-width code in the 2c-r-fixed.css&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/*
    Full Width Template
*/

.page-template-template-page-fullwidth-php #container {
	margin:0;
	width:940px;
}

.page-template-template-page-fullwidth-php #content {
	margin: 0 0 0 10px;
	width:940px;
}

.page-template-template-page-fullwidth-php #comments {
    width:540px;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;OR if you copy it , but RENAME it then you no longer get that dynamic body class.  if you have renamed it to homepage.php then your dynamic body class will be &#60;/p&#62;
&#60;p&#62;.page-template-homepage-php&#60;/p&#62;
&#60;p&#62;you could see this at work with firebug.&#60;/p&#62;
&#60;p&#62;thus the above style rules don't match b/c you don't have the right body class.&#60;/p&#62;
&#60;p&#62;you'd need to copy those style rules into your own style sheet and use the appropriate body class&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/*
    Home Page Template
*/

.page-template-homepage-php #container {
	margin:0;
	width:940px;
}

.page-template-homepage-php #content {
	margin: 0 0 0 10px;
	width:940px;
}

.page-template-homepage-php #comments {
    width:540px;
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>andycheeseman on "Full Width Custom Design on Homepage"</title>
<link>http://themeshaper.com/forums/topic/full-width-custom-design-on-homepage#post-18682</link>
<pubDate>Tue, 25 Jan 2011 09:55:16 +0000</pubDate>
<dc:creator>andycheeseman</dc:creator>
<guid isPermaLink="false">18682@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks for your response.&#60;/p&#62;
&#60;p&#62;When I duplicate the full width template and add it to my child theme's directory, the newly created homepage.php still displays #container with a width of 620px and #content with a width of 540px.&#60;/p&#62;
&#60;p&#62;Using firebug I can see these values are being drawn from 2c-r-fixed.css.&#60;/p&#62;
&#60;p&#62;How can I make the #container fill #main using this method?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Andy.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Full Width Custom Design on Homepage"</title>
<link>http://themeshaper.com/forums/topic/full-width-custom-design-on-homepage#post-18680</link>
<pubDate>Tue, 25 Jan 2011 09:35:02 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">18680@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;why not create another template that is also full-width?  which would require copying over the CSS from thematic's full-width template into your style.css as the body class generated by your new template will be different and thus thematic's css won't apply the full-page width stuff.&#60;/p&#62;
&#60;p&#62;OR &#60;/p&#62;
&#60;p&#62;just copy thematic's template-page-fullwidth.php into your child theme folder.  then add your custom html.  this has the benefit of not needing duplicate the CSS, but it also means that this custom would always be on the full-page template so depending on what you are doing you might not be able to use it for anything else.
&#60;/p&#62;</description>
</item>
<item>
<title>andycheeseman on "Full Width Custom Design on Homepage"</title>
<link>http://themeshaper.com/forums/topic/full-width-custom-design-on-homepage#post-18677</link>
<pubDate>Tue, 25 Jan 2011 09:09:13 +0000</pubDate>
<dc:creator>andycheeseman</dc:creator>
<guid isPermaLink="false">18677@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I want to create a custom homepage design that displays full width.&#60;/p&#62;
&#60;p&#62;I understand that I can associate the default full width template with a page within WP, however I also want to add some custom html into the homepage.&#60;/p&#62;
&#60;p&#62;Is it a case of associating the existing full width template with the homepage and hooking the content into the design using functions.php? Or is there a better way to do this?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Andy.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
