<?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: breaks</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Wed, 22 May 2013 05:14:02 +0000</pubDate>

<item>
<title>nimmolo on "9.8 (9.7.8) dev release breaks layout"</title>
<link>http://themeshaper.com/forums/topic/98-978-dev-release-breaks-layout#post-25840</link>
<pubDate>Mon, 12 Mar 2012 00:41:15 +0000</pubDate>
<dc:creator>nimmolo</dc:creator>
<guid isPermaLink="false">25840@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;thanks Helga!!!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "9.8 (9.7.8) dev release breaks layout"</title>
<link>http://themeshaper.com/forums/topic/98-978-dev-release-breaks-layout#post-25838</link>
<pubDate>Mon, 12 Mar 2012 00:23:56 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">25838@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;lean and mean.  &#60;/p&#62;
&#60;p&#62;one last thing: you could put that image in your theme folder if you wanted (instead of hard linking it)&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;src=&#38;quot;&#38;lt;?php echo stylesheet_directory_uri() . &#38;#39;/images/WP9-winter.png&#38;#39;;?&#38;gt;&#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;also, looks like you can mark this as resolved
&#60;/p&#62;</description>
</item>
<item>
<title>nimmolo on "9.8 (9.7.8) dev release breaks layout"</title>
<link>http://themeshaper.com/forums/topic/98-978-dev-release-breaks-layout#post-25837</link>
<pubDate>Sun, 11 Mar 2012 23:59:46 +0000</pubDate>
<dc:creator>nimmolo</dc:creator>
<guid isPermaLink="false">25837@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;OK. got it. Sorry for deleting the bloated code, did it before i read your reply.&#60;/p&#62;
&#60;p&#62;Here it is on a diet. I didn't know that about not having to add the action but of course it makes sense, it's built into the conditional syntax in header-extensions.php.&#60;/p&#62;
&#60;p&#62;Anything else I could pare out of here?&#60;/p&#62;
&#60;p&#62;I started with the childtheme_override_access() because the mobile childtheme does indeed override thematic_access() and i wanted them to be similar. Unnecessary here though.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// Let&#38;#39;s add those mobile navmenus 

function register_mobile_navmenus() {
        if (function_exists( &#38;#39;register_nav_menus&#38;#39; )) {
            register_nav_menus(
            	array(
            		&#38;#39;primary-menu&#38;#39; =&#38;gt; __( &#38;#39;Masthead Navigation&#38;#39;, &#38;#39;thematic&#38;#39; ), &#38;#39;mobile-menu&#38;#39; =&#38;gt; __( &#38;#39;Mobile Navigation&#38;#39;, &#38;#39;thematic&#38;#39;)) );
        }
    }

	add_action(&#38;#39;init&#38;#39;, &#38;#39;register_mobile_navmenus&#38;#39;);

// HEADER ACTIONS, Nimmo style.

function remove_defaults() {
    remove_action(&#38;#39;thematic_header&#38;#39;,&#38;#39;thematic_brandingopen&#38;#39;,1);
    remove_action(&#38;#39;thematic_header&#38;#39;,&#38;#39;thematic_access&#38;#39;,9);
}
	add_action(&#38;#39;init&#38;#39;,&#38;#39;remove_defaults&#38;#39;);

   	add_action(&#38;#39;thematic_header&#38;#39;,&#38;#39;thematic_access&#38;#39;,1);
    	add_action(&#38;#39;thematic_header&#38;#39;,&#38;#39;thematic_brandingopen&#38;#39;,2);

	// Open #branding and add the branding image this way
	// In the header div

		function childtheme_override_brandingopen() {
			echo &#38;#39;&#38;lt;div id=&#38;quot;branding&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;&#38;#39; . home_url() . &#38;#39;&#38;quot;&#38;gt;&#38;lt;img src=&#38;quot;/mistersaturdaynight/wp-content/uploads/header-images/WP9-winter.png&#38;quot;&#38;gt;&#38;lt;/a&#38;gt;&#38;#39;;
		}

	// Dis the blog title
	// In the header div

	    function childtheme_override_blogtitle() { }

	// Dis the blog description
	// In the header div

	    function childtheme_override_blogdescription() {   }

// End of functions that hook into thematic_header()&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>helgatheviking on "9.8 (9.7.8) dev release breaks layout"</title>
<link>http://themeshaper.com/forums/topic/98-978-dev-release-breaks-layout#post-25836</link>
<pubDate>Sun, 11 Mar 2012 23:49:40 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">25836@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;i think you have some code cleanup you could stand to do to make the code more elegant and therefore easier to maintain in the future:&#60;/p&#62;
&#60;p&#62;you don't need to do childtheme_override_something() and add_action('action', 'childtheme_override_something');&#60;/p&#62;
&#60;p&#62;if you are using overrides, you don't need to remove_action() the original action&#60;/p&#62;
&#60;p&#62;for sanity's sake you shouldn't name functions childtheme_override if they don't actually override anything, like your childtheme_override_init_navmenu.  there isn't a thematic_init_navmenu function.  it works, sure, but it gets confusing.  &#60;/p&#62;
&#60;p&#62;why are you overriding access?  doesn't look like you are doing anything except moving it?  remove_action, then add_action back on new hook.
&#60;/p&#62;</description>
</item>
<item>
<title>nimmolo on "9.8 (9.7.8) dev release breaks layout"</title>
<link>http://themeshaper.com/forums/topic/98-978-dev-release-breaks-layout#post-25835</link>
<pubDate>Sun, 11 Mar 2012 23:29:06 +0000</pubDate>
<dc:creator>nimmolo</dc:creator>
<guid isPermaLink="false">25835@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;OK no that didn't do it. I'm reading helga's post below now, i will make those changes...&#60;/p&#62;
&#60;p&#62;It's my inelegant code and the double branding close.&#60;/p&#62;
&#60;p&#62;For some reason, under 9.7.8 the new childtheme_override_brandingclose() now ran IN ADDITION TO thematic_branding_close(),  not INSTEAD OF.&#60;/p&#62;
&#60;p&#62;So I'm now removing thematic_branding_close() manually instead of relying on the childtheme function override. Didn't use to have to do that!!!&#60;/p&#62;
&#60;p&#62;I think that could be a problem in header-extensions.php of 9.7.8, i will now investigate.
&#60;/p&#62;</description>
</item>
<item>
<title>nimmolo on "9.8 (9.7.8) dev release breaks layout"</title>
<link>http://themeshaper.com/forums/topic/98-978-dev-release-breaks-layout#post-25834</link>
<pubDate>Sun, 11 Mar 2012 23:11:40 +0000</pubDate>
<dc:creator>nimmolo</dc:creator>
<guid isPermaLink="false">25834@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;OK - *edit* see below :)
&#60;/p&#62;</description>
</item>
<item>
<title>nimmolo on "9.8 (9.7.8) dev release breaks layout"</title>
<link>http://themeshaper.com/forums/topic/98-978-dev-release-breaks-layout#post-25833</link>
<pubDate>Sun, 11 Mar 2012 23:06:24 +0000</pubDate>
<dc:creator>nimmolo</dc:creator>
<guid isPermaLink="false">25833@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Och! My mistakes are foiled by smart people once again.&#60;/p&#62;
&#60;p&#62;Thanks!&#60;/p&#62;
&#60;p&#62;Jeez louise you would think i would have thought to check the dev tools but I was SO SURE my markup was a-ok.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "9.8 (9.7.8) dev release breaks layout"</title>
<link>http://themeshaper.com/forums/topic/98-978-dev-release-breaks-layout#post-25832</link>
<pubDate>Sun, 11 Mar 2012 22:31:06 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">25832@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;cause i'm ninja like that.  your explanation is more thorough however
&#60;/p&#62;</description>
</item>
<item>
<title>middlesister on "9.8 (9.7.8) dev release breaks layout"</title>
<link>http://themeshaper.com/forums/topic/98-978-dev-release-breaks-layout#post-25831</link>
<pubDate>Sun, 11 Mar 2012 21:48:31 +0000</pubDate>
<dc:creator>middlesister</dc:creator>
<guid isPermaLink="false">25831@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Like you say, the #wrapper is no longer wrapping the page but only the header. Of course #main will not be affected by wrappers max-width since it is no longer inside it.&#60;/p&#62;
&#60;p&#62;This means that there is an extra closing div tag somewhere in the header. A quick look at your source code reveals that it has to do with the #branding. It is closed twice.&#60;/p&#62;
&#60;p&#62;Don't know how your code looks like, but there is a thematic_brandingopen as well as a thematic_brandingclose so make sure you don't close it twice by adding the closing div tag in thematic_brandingopen. I honestly don't know if this has to do with upgrading to the latest dev release. Both of these filters were there before so it's probable this issue has been there all along but just not visible until now.&#60;/p&#62;
&#60;p&#62;EDIT - hah Helga was before me :-)
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "9.8 (9.7.8) dev release breaks layout"</title>
<link>http://themeshaper.com/forums/topic/98-978-dev-release-breaks-layout#post-25830</link>
<pubDate>Sun, 11 Mar 2012 21:44:52 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">25830@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;the problem is not w/ thematic.  you have some improperly closed html markup somewhere.&#60;/p&#62;
&#60;p&#62;in chrome dev tools your site looks like:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div id=&#38;quot;wrapper&#38;quot;&#38;gt;
&#38;lt;div id=&#38;quot;header&#38;quot;&#38;gt;&#38;lt;/div&#38;gt;
&#38;lt;/div&#38;gt;

&#38;lt;div id=&#38;quot;main&#38;quot;&#38;gt;
&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>nimmolo on "9.8 (9.7.8) dev release breaks layout"</title>
<link>http://themeshaper.com/forums/topic/98-978-dev-release-breaks-layout#post-25828</link>
<pubDate>Sun, 11 Mar 2012 19:59:20 +0000</pubDate>
<dc:creator>nimmolo</dc:creator>
<guid isPermaLink="false">25828@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;After reading enough encouragements I installed the latest dev release from Thematic4You.&#60;/p&#62;
&#60;p&#62;Suddenly #main does not inherit anything from #wrapper?!?!?&#60;/p&#62;
&#60;p&#62;My layout is not behaving properly at all - #wrapper seems to stop after the header, and #main is following its own rules; it's not obeying wrapper's max-width and is using 100% of screen width. Check it at andrewnimmo.com/mistersaturdaynight if you like.&#60;/p&#62;
&#60;p&#62;There were no problems before I updated the Thematic and no changes since, either.&#60;/p&#62;
&#60;p&#62;Obviously I will revert in a few days but I'm posting this because it might be of interest to developers.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
