<?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: How to center the menu in 0.9</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Thu, 23 May 2013 21:31:21 +0000</pubDate>

<item>
<title>marshall on "How to center the menu in 0.9"</title>
<link>http://themeshaper.com/forums/topic/how-to-center-the-menu-in-09#post-21851</link>
<pubDate>Mon, 13 Jun 2011 16:58:41 +0000</pubDate>
<dc:creator>marshall</dc:creator>
<guid isPermaLink="false">21851@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;wlanni: I do believe you've done it!  I applied your solution using Thematic's default naming conventions, (ul class is &#34;sf.menu&#34;) from what I can tell, this is the really important bit:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
.sf-menu {&#60;br /&#62;
	border-right: none;&#60;br /&#62;
	position: relative;&#60;br /&#62;
	float: left;&#60;br /&#62;
	left: 50%;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;.sf-menu li {&#60;br /&#62;
	position: relative;&#60;br /&#62;
	float: left;&#60;br /&#62;
	right: 50%;&#60;br /&#62;
}&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Haven't tested for compatibility or anything, but it's all standard code so I don't expect anything to break.  Thanks again, friend!&#60;/p&#62;
&#60;p&#62;(Not sure if this issue was resolved in another thread or anything, but this thread was a top search result so this is where I looked first)
&#60;/p&#62;</description>
</item>
<item>
<title>wlanni on "How to center the menu in 0.9"</title>
<link>http://themeshaper.com/forums/topic/how-to-center-the-menu-in-09#post-18734</link>
<pubDate>Thu, 27 Jan 2011 01:30:14 +0000</pubDate>
<dc:creator>wlanni</dc:creator>
<guid isPermaLink="false">18734@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hello all!&#60;/p&#62;
&#60;p&#62;I found a way to center my menu in a fixed width solution using floats, etc.&#60;br /&#62;
This page had what I needed:&#60;br /&#62;
&#60;a href=&#34;http://www.cssplay.co.uk/menus/centered.html&#34; rel=&#34;nofollow&#34;&#62;http://www.cssplay.co.uk/menus/centered.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;My menu ul id is #menu-global-nav, its class is .sf-menu:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div id=access&#38;gt;
&#38;lt;div class=menu&#38;gt;
&#38;lt;ul id=menu-global-nav class=sf-menu&#38;gt;

&#38;lt;li&#38;gt;...etc&#38;lt;/li&#38;gt;
&#38;lt;/ul&#38;gt;
&#38;lt;/div&#38;gt;
&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;pre&#62;&#60;code&#62;#access {
    height:32px;
    font-size:medium;
    font-family: &#38;quot;Book Antiqua&#38;quot;, &#38;quot;Palatino Linotype&#38;quot;, Georgia, serif;
    overflow:hidden;
    z-index:100;
    text-transform: lowercase;
	width: 960px;
	margin: 0 auto;
}

#access .menu {
	width: 100%;
}

#access .menu #menu-global-nav {
	position: relative;
	float: left;
	left: 50%;
}

#access .menu #menu-global-nav li {
	float: left;
	position: relative;
	right:50%;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Site still under development, but here's a rough page:&#60;br /&#62;
&#60;a href=&#34;http://revebeds.com/luxury-beds-products/&#34; rel=&#34;nofollow&#34;&#62;http://revebeds.com/luxury-beds-products/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Robo on "How to center the menu in 0.9"</title>
<link>http://themeshaper.com/forums/topic/how-to-center-the-menu-in-09#post-13941</link>
<pubDate>Fri, 16 Jul 2010 10:04:02 +0000</pubDate>
<dc:creator>Robo</dc:creator>
<guid isPermaLink="false">13941@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Another thought -- since such a menu is probably linking to pages that have fixed names -- e.g. &#34;.../About&#34;, then could the menu be hard coded into an action and hooked into the right place?
&#60;/p&#62;</description>
</item>
<item>
<title>Robo on "How to center the menu in 0.9"</title>
<link>http://themeshaper.com/forums/topic/how-to-center-the-menu-in-09#post-13940</link>
<pubDate>Fri, 16 Jul 2010 09:58:56 +0000</pubDate>
<dc:creator>Robo</dc:creator>
<guid isPermaLink="false">13940@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Did anyone come up with a nice clean solution to this?&#60;/p&#62;
&#60;p&#62;Can this not be done in CSS -- in principle?
&#60;/p&#62;</description>
</item>
<item>
<title>markjenkins81 on "How to center the menu in 0.9"</title>
<link>http://themeshaper.com/forums/topic/how-to-center-the-menu-in-09#post-10726</link>
<pubDate>Mon, 15 Mar 2010 09:46:35 +0000</pubDate>
<dc:creator>markjenkins81</dc:creator>
<guid isPermaLink="false">10726@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Susan,&#60;/p&#62;
&#60;p&#62;Do you have any explanation of how you recreated the menu please? I tried all of the above but couldn't get it to work in any instance. Any help would be greatly appreciated&#60;/p&#62;
&#60;p&#62;thanks&#60;br /&#62;
Mark
&#60;/p&#62;</description>
</item>
<item>
<title>susan on "How to center the menu in 0.9"</title>
<link>http://themeshaper.com/forums/topic/how-to-center-the-menu-in-09#post-10128</link>
<pubDate>Wed, 24 Feb 2010 03:00:33 +0000</pubDate>
<dc:creator>susan</dc:creator>
<guid isPermaLink="false">10128@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks bodhirayo, I'll give that a try. &#60;/p&#62;
&#60;p&#62;I recreated the menu code (no dropdowns since I didn't need them for this site) and added text-align &#34;center&#34; to .menu and it worked in 6/7/8 and Firefox. &#60;/p&#62;
&#60;p&#62;I did try adding text-align to the original menu but it didn't do anything.
&#60;/p&#62;</description>
</item>
<item>
<title>bodhirayo on "How to center the menu in 0.9"</title>
<link>http://themeshaper.com/forums/topic/how-to-center-the-menu-in-09#post-10036</link>
<pubDate>Mon, 22 Feb 2010 05:28:24 +0000</pubDate>
<dc:creator>bodhirayo</dc:creator>
<guid isPermaLink="false">10036@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;as a last resort i wrapped the menu in a single-cell table.&#60;br /&#62;
here's what i did...&#60;/p&#62;
&#60;p&#62;in header.php i replaced this code:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div id=&#38;quot;header&#38;quot;&#38;gt;

        &#38;lt;?php 

        // action hook creating the theme header
        thematic_header();

        ?&#38;gt;

&#38;lt;/div&#38;gt;&#38;lt;!-- #header--&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div id=&#38;quot;header&#38;quot;&#38;gt;
      &#38;lt;div id=&#38;quot;branding&#38;quot;&#38;gt;
        &#38;lt;div id=&#38;quot;blog-title&#38;quot;&#38;gt;&#38;lt;span&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php bloginfo(&#38;#39;url&#38;#39;) ?&#38;gt;/&#38;quot; title=&#38;quot;&#38;lt;?php bloginfo(&#38;#39;name&#38;#39;) ?&#38;gt;&#38;quot; rel=&#38;quot;home&#38;quot;&#38;gt;&#38;lt;?php bloginfo(&#38;#39;name&#38;#39;) ?&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/span&#38;gt;&#38;lt;/div&#38;gt;
        &#38;lt;div id=&#38;quot;blog-description&#38;quot;&#38;gt;&#38;lt;?php bloginfo(&#38;#39;description&#38;#39;) ?&#38;gt;&#38;lt;/div&#38;gt;
      &#38;lt;/div&#38;gt;&#38;lt;!--  #branding --&#38;gt;
      &#38;lt;div id=&#38;quot;access&#38;quot;&#38;gt;
        &#38;lt;div class=&#38;quot;skip-link&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;#content&#38;quot; title=&#38;quot;&#38;lt;?php _e(&#38;#39;Skip navigation to the content&#38;#39;, &#38;#39;thematic&#38;#39;); ?&#38;gt;&#38;quot;&#38;gt;&#38;lt;?php _e(&#38;#39;Skip to content&#38;#39;, &#38;#39;thematic&#38;#39;); ?&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/div&#38;gt;
        &#38;lt;table&#38;gt;&#38;lt;tr&#38;gt;&#38;lt;td&#38;gt;
          &#38;lt;?php wp_page_menu(&#38;#39;sort_column=menu_order&#38;#39;) ?&#38;gt;
        &#38;lt;/td&#38;gt;&#38;lt;/tr&#38;gt;&#38;lt;/table&#38;gt;
      &#38;lt;/div&#38;gt;&#38;lt;!-- #access --&#38;gt;
&#38;lt;/div&#38;gt;&#38;lt;!-- #header--&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;then in my style.css i added:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#access table {margin:0 auto; border:none;}
#access tr {border:none;}
#access td {padding:0;}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;not pretty, but it works... :)
&#60;/p&#62;</description>
</item>
<item>
<title>susan on "How to center the menu in 0.9"</title>
<link>http://themeshaper.com/forums/topic/how-to-center-the-menu-in-09#post-10000</link>
<pubDate>Sat, 20 Feb 2010 19:20:57 +0000</pubDate>
<dc:creator>susan</dc:creator>
<guid isPermaLink="false">10000@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I've been trying to figure this one out as well, changing the #access works fine if I don't add any more pages, once I (or my client actually) adds pages my menu is no longer centered. &#60;/p&#62;
&#60;p&#62;Anyone else have any ideas as to why the standard fix for this - margin/width does not work? Is there something in the javascript? &#60;/p&#62;
&#60;p&#62;Depending on what you set your width to the menu is either on the left or on the right (anything less than 100% simply moves the menu to the right, 100% keeps it on the left).&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>Sherman on "How to center the menu in 0.9"</title>
<link>http://themeshaper.com/forums/topic/how-to-center-the-menu-in-09#post-9767</link>
<pubDate>Sat, 13 Feb 2010 03:50:12 +0000</pubDate>
<dc:creator>Sherman</dc:creator>
<guid isPermaLink="false">9767@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;That tip with #access at 33% works awesome in everything above IE6.  But you need to add margin: 0 auto;&#60;/p&#62;
&#60;p&#62;Thanks for the tip!
&#60;/p&#62;</description>
</item>
<item>
<title>Renee on "How to center the menu in 0.9"</title>
<link>http://themeshaper.com/forums/topic/how-to-center-the-menu-in-09#post-9143</link>
<pubDate>Wed, 20 Jan 2010 19:24:09 +0000</pubDate>
<dc:creator>Renee</dc:creator>
<guid isPermaLink="false">9143@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Well, the body has to be a fixed width for this, so I guess that kind of defeats the purpose. Sorry.
&#60;/p&#62;</description>
</item>
<item>
<title>Renee on "How to center the menu in 0.9"</title>
<link>http://themeshaper.com/forums/topic/how-to-center-the-menu-in-09#post-9142</link>
<pubDate>Wed, 20 Jan 2010 19:03:14 +0000</pubDate>
<dc:creator>Renee</dc:creator>
<guid isPermaLink="false">9142@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;If you give #access a width of 33%, it centers beautifully. Have not tested in ies - if anyone knows there would be issues with this, feel free to call me on it.
&#60;/p&#62;</description>
</item>
<item>
<title>aoda on "How to center the menu in 0.9"</title>
<link>http://themeshaper.com/forums/topic/how-to-center-the-menu-in-09#post-2604</link>
<pubDate>Thu, 26 Mar 2009 18:38:01 +0000</pubDate>
<dc:creator>aoda</dc:creator>
<guid isPermaLink="false">2604@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thank you!
&#60;/p&#62;</description>
</item>
<item>
<title>dannydamnboy on "How to center the menu in 0.9"</title>
<link>http://themeshaper.com/forums/topic/how-to-center-the-menu-in-09#post-2592</link>
<pubDate>Thu, 26 Mar 2009 10:49:04 +0000</pubDate>
<dc:creator>dannydamnboy</dc:creator>
<guid isPermaLink="false">2592@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Actually, we can't find a way to center the menu in eevry browser. But if you have a lot of pages, this example works fine: &#60;a href=&#34;http://www.auxanocreative.com/clients/sh/index.htm&#34; rel=&#34;nofollow&#34;&#62;http://www.auxanocreative.com/clients/sh/index.htm&#60;/a&#62;&#60;br /&#62;
Thanks again Chris.
&#60;/p&#62;</description>
</item>
<item>
<title>aoda on "How to center the menu in 0.9"</title>
<link>http://themeshaper.com/forums/topic/how-to-center-the-menu-in-09#post-2582</link>
<pubDate>Wed, 25 Mar 2009 23:45:08 +0000</pubDate>
<dc:creator>aoda</dc:creator>
<guid isPermaLink="false">2582@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Can you share how you're doing this? I'm new, so any help is appreciated!&#60;br /&#62;
Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>dannydamnboy on "How to center the menu in 0.9"</title>
<link>http://themeshaper.com/forums/topic/how-to-center-the-menu-in-09#post-2573</link>
<pubDate>Wed, 25 Mar 2009 20:32:57 +0000</pubDate>
<dc:creator>dannydamnboy</dc:creator>
<guid isPermaLink="false">2573@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;It's really a mess. I can't found a single way to make it works in every browser.&#60;br /&#62;
Maybe the best and fastest way is remove it and change it with another menu.&#60;br /&#62;
Thanks Chris for trying!
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "How to center the menu in 0.9"</title>
<link>http://themeshaper.com/forums/topic/how-to-center-the-menu-in-09#post-2538</link>
<pubDate>Tue, 24 Mar 2009 12:51:51 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">2538@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hey Danny,&#60;/p&#62;
&#60;p&#62;this center thing drives me nuts .. Can't tell you how many How-to-whatever I read 'til now. Most of the methods have major drawbacks (either IE 6 AND 7 or OPERA). Visited a couple of websites from people that asked for a centered drop down menu .. haven't seen one that doesn't use a solution thats related to that one menu running on their website.&#60;/p&#62;
&#60;p&#62;If it's just for a certain project: Use Firebug to look for the width of .sf-menu and set .menu width to width of .sf-menu + 1 (the +1 is important for the left borderline)&#60;/p&#62;
&#60;p&#62;Just in case you want to read more 'bout that: &#60;a href=&#34;http://www.tyssendesign.com.au/articles/css/centering-a-dropdown-menu/&#34;&#62;Centering a dropdown menu&#60;/a&#62;.
&#60;/p&#62;</description>
</item>
<item>
<title>dannydamnboy on "How to center the menu in 0.9"</title>
<link>http://themeshaper.com/forums/topic/how-to-center-the-menu-in-09#post-2535</link>
<pubDate>Tue, 24 Mar 2009 10:47:49 +0000</pubDate>
<dc:creator>dannydamnboy</dc:creator>
<guid isPermaLink="false">2535@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks Chris for the example.&#60;br /&#62;
That guy uses a &#34;full&#34; nav bar, so it seems to be centered but if we remove some links the nav bar will stay on the left. The problem appear if we don't have enough links to fill the navbar.&#60;br /&#62;
Maybe I am wrong but I've made some testswith firebug on that site...
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "How to center the menu in 0.9"</title>
<link>http://themeshaper.com/forums/topic/how-to-center-the-menu-in-09#post-2534</link>
<pubDate>Tue, 24 Mar 2009 10:08:19 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">2534@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hey Danny,&#60;/p&#62;
&#60;p&#62;take a look here: &#60;a href=&#34;http://www.auxanocreative.com/clients/sh/index.htm&#34;&#62;http://www.auxanocreative.com/clients/sh/index.htm&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Haven't tested what this guy did, but the result is centered.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>ondrae on "How to center the menu in 0.9"</title>
<link>http://themeshaper.com/forums/topic/how-to-center-the-menu-in-09#post-2526</link>
<pubDate>Tue, 24 Mar 2009 04:23:46 +0000</pubDate>
<dc:creator>ondrae</dc:creator>
<guid isPermaLink="false">2526@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I've tried everything. Everything. No go.&#60;/p&#62;
&#60;p&#62;If you guys figure it out, please, please, please let me know.
&#60;/p&#62;</description>
</item>
<item>
<title>dannydamnboy on "How to center the menu in 0.9"</title>
<link>http://themeshaper.com/forums/topic/how-to-center-the-menu-in-09#post-2155</link>
<pubDate>Tue, 10 Mar 2009 15:54:18 +0000</pubDate>
<dc:creator>dannydamnboy</dc:creator>
<guid isPermaLink="false">2155@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;As the title says, I cannot find a way to center the menu block...&#60;br /&#62;
I haven't understand completely the new menu structure, could someone help me please?&#60;/p&#62;
&#60;p&#62;Thanks in advance!
&#60;/p&#62;</description>
</item>

</channel>
</rss>
