<?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: current page item</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Sun, 26 May 2013 02:54:48 +0000</pubDate>

<item>
<title>helgatheviking on "Style individual current_page_item"</title>
<link>http://themeshaper.com/forums/topic/style-individual-current_page_item#post-20209</link>
<pubDate>Fri, 01 Apr 2011 11:44:41 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">20209@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;doesn't the current_page_item have a white border by default?
&#60;/p&#62;</description>
</item>
<item>
<title>Sabra on "Style individual current_page_item"</title>
<link>http://themeshaper.com/forums/topic/style-individual-current_page_item#post-20207</link>
<pubDate>Fri, 01 Apr 2011 11:27:48 +0000</pubDate>
<dc:creator>Sabra</dc:creator>
<guid isPermaLink="false">20207@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks mate, that worked like a charm. Menu's are driving me nuts! :) Now I only have funny white border-bottom on my active page-item that I need to solve...
&#60;/p&#62;</description>
</item>
<item>
<title>middlesister on "Style individual current_page_item"</title>
<link>http://themeshaper.com/forums/topic/style-individual-current_page_item#post-20203</link>
<pubDate>Fri, 01 Apr 2011 10:18:27 +0000</pubDate>
<dc:creator>middlesister</dc:creator>
<guid isPermaLink="false">20203@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I think the .current_page_item gets applied to the parent li element and not to the link directly. Try adding the &#34;a&#34; element after .current_page_item:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;.page-item-2.current_page_item a {
	background-image: url(menu_03hover.png);
	background-repeat: no-repeat;
	background-position: left top;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;If you want the .current_page_item background to be exactly the same as a:hover, you could also simply add it to the list to avoid repeating yourself:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;.page-item-2 a:hover,
.page-item-2.current_page_item a {
	background-image: url(menu_03hover.png);
	background-repeat: no-repeat;
	background-position: left top;
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>Sabra on "Style individual current_page_item"</title>
<link>http://themeshaper.com/forums/topic/style-individual-current_page_item#post-20200</link>
<pubDate>Fri, 01 Apr 2011 07:44:03 +0000</pubDate>
<dc:creator>Sabra</dc:creator>
<guid isPermaLink="false">20200@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Or not...it worked with adding a colored bottom border, not with the rest. Here's my code: &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;.page-item-2 a {
	background-image: url(menu_03normal.png);
	background-repeat: no-repeat;
	background-position: left top;
}

.page-item-2 a:visited {
	background-image: url(menu_03normal.png);
	background-repeat: no-repeat;
	background-position: left top;
}

.page-item-2 a:hover {
	background-image: url(menu_03hover.png);
	background-repeat: no-repeat;
	background-position: left top;
}

.page-item-2.current_page_item {
	background-image: url(menu_03hover.png);
	background-repeat: no-repeat;
	background-position: left top;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;My menu tags a, a:hover, a:visited and the class .current_page_item are displayed as blocks. I simply want the a:hover background to remain 'active' while the visitor is on that current page.
&#60;/p&#62;</description>
</item>
<item>
<title>Sabra on "Style individual current_page_item"</title>
<link>http://themeshaper.com/forums/topic/style-individual-current_page_item#post-20199</link>
<pubDate>Fri, 01 Apr 2011 07:05:23 +0000</pubDate>
<dc:creator>Sabra</dc:creator>
<guid isPermaLink="false">20199@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks a lot, that worked like a charm! I actually came up with code you provided, but put a space inbetween the two class names. Stupid!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Style individual current_page_item"</title>
<link>http://themeshaper.com/forums/topic/style-individual-current_page_item#post-20011</link>
<pubDate>Sat, 26 Mar 2011 23:58:17 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">20011@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;i think if you want to target something that has 2 classes you just link the classes together like&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;.page-item-#id.current_page_item {
   background: #whatevs;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;no guarantees...
&#60;/p&#62;</description>
</item>
<item>
<title>Sabra on "Style individual current_page_item"</title>
<link>http://themeshaper.com/forums/topic/style-individual-current_page_item#post-20007</link>
<pubDate>Sat, 26 Mar 2011 21:41:06 +0000</pubDate>
<dc:creator>Sabra</dc:creator>
<guid isPermaLink="false">20007@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Sorry, I'm having trouble with the title..&#60;/p&#62;
&#60;p&#62;I have four menu items that I style individually by using the page-item-#id class:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;.page-item-#id {
      background: #whatever;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Now I want to style these item when they are the current page item, i.e. when the page they link to is active. But I can't for the life of me figure out what's the proper code. I can style the general .current_page_item link class, but not individually for each menu item.&#60;/p&#62;
&#60;p&#62;Can anyone offer help?
&#60;/p&#62;</description>
</item>
<item>
<title>jason on "Can't style .current_page_item in Child theme"</title>
<link>http://themeshaper.com/forums/topic/cant-style-current_page_item-in-child-theme#post-11660</link>
<pubDate>Thu, 22 Apr 2010 06:34:08 +0000</pubDate>
<dc:creator>jason</dc:creator>
<guid isPermaLink="false">11660@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Dude. You ROCK !!&#60;/p&#62;
&#60;p&#62;I thought I had tried every variation, but that one I missed. I think I started out with sf-menu. Anyway, there's obviously a lot I still need to learn about CSS.&#60;/p&#62;
&#60;p&#62;Thanks very much for your help!
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Can't style .current_page_item in Child theme"</title>
<link>http://themeshaper.com/forums/topic/cant-style-current_page_item-in-child-theme#post-11643</link>
<pubDate>Wed, 21 Apr 2010 15:53:52 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">11643@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Now way around it, styling nested menus in WordPress is difficult. Try:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;.current_page_item a , .current_page_ancestor a { border-top: 10px solid red }&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>jason on "Can't style .current_page_item in Child theme"</title>
<link>http://themeshaper.com/forums/topic/cant-style-current_page_item-in-child-theme#post-11641</link>
<pubDate>Wed, 21 Apr 2010 15:29:36 +0000</pubDate>
<dc:creator>jason</dc:creator>
<guid isPermaLink="false">11641@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks, but that's not it. I just tried it.... no change. The frustrating part is that this theme is designed to be customized, but it has been far from easy. I have spent hours trying to alter the look. Perhaps commenting on all of the classes would help people understand what they need to modify.&#60;/p&#62;
&#60;p&#62;I'm really close to installing a custom opencube menu and be done with it, but it would be a shame since all styling is right here in this theme. I just don't know how to access the right part.&#60;/p&#62;
&#60;p&#62;Thanks for any more suggestions you have.
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Can't style .current_page_item in Child theme"</title>
<link>http://themeshaper.com/forums/topic/cant-style-current_page_item-in-child-theme#post-11623</link>
<pubDate>Wed, 21 Apr 2010 13:53:17 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">11623@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi jason,&#60;/p&#62;
&#60;p&#62;I think the class tou need to style is &#60;code&#62;current_page_ancestor&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;-Gene
&#60;/p&#62;</description>
</item>
<item>
<title>jason on "Can't style .current_page_item in Child theme"</title>
<link>http://themeshaper.com/forums/topic/cant-style-current_page_item-in-child-theme#post-11612</link>
<pubDate>Wed, 21 Apr 2010 07:10:23 +0000</pubDate>
<dc:creator>jason</dc:creator>
<guid isPermaLink="false">11612@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I want to add rounded tab corners for those browsers (not IE) that can view them. They just look better than the square corners for the particular site I am working on. Everything works as expected, except when I try to style the .current_page_item. That tab in particular, and its dropdown seems to operate differently from the rest.&#60;/p&#62;
&#60;p&#62;Example:&#60;br /&#62;
&#60;a href=&#34;http://208.43.39.68/~natafoun/about/awards/research-awards&#34; rel=&#34;nofollow&#34;&#62;http://208.43.39.68/~natafoun/about/awards/research-awards&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I thought by changing the style for .current_page_item, I'd be set. But, there are SO many overlapping classes, I'm getting a headache looking at this stuff, and I've spent hours now. Please help!&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
/*** THEMATIC SKIN ***/&#60;br /&#62;
.sf-menu {&#60;br /&#62;
	float:left;&#60;br /&#62;
}&#60;br /&#62;
.sf-menu a {&#60;br /&#62;
	padding:9px 13px;&#60;br /&#62;
	text-decoration:none;&#60;br /&#62;
	color: #91AB99;&#60;br /&#62;
}&#60;br /&#62;
.sf-menu .current_page_item li,&#60;br /&#62;
.sf-menu .current_page_ancestor li,&#60;br /&#62;
.sf-menu .current_page_parent li {&#60;br /&#62;
	background-color: #ffffff;&#60;br /&#62;
	color: #91AB99;&#60;br /&#62;
	border-bottom-width: 1px;&#60;br /&#62;
	border-bottom-style: solid;&#60;br /&#62;
	border-bottom-color:#fff;&#60;br /&#62;
	-moz-border-radius-topleft:5px;&#60;br /&#62;
	-moz-border-radius-topright:5px;&#60;br /&#62;
	-webkit-border-top-left-radius:5px;&#60;br /&#62;
	-webkit-border-top-right-radius:5px;&#60;br /&#62;
}&#60;br /&#62;
.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/&#60;br /&#62;
}&#60;br /&#62;
.sf-menu li {&#60;br /&#62;
	border-top-width: 1px;&#60;br /&#62;
	border-top-style: solid;&#60;br /&#62;
	border-top-color: transparent;&#60;br /&#62;
	border-left-width: 1px;&#60;br /&#62;
	border-left-style: solid;&#60;br /&#62;
	border-left-color: transparent;&#60;br /&#62;
}&#60;br /&#62;
.sf-menu li:hover {&#60;br /&#62;
	border-left-width: 1px;&#60;br /&#62;
	border-left-style: solid;&#60;br /&#62;
	border-left-color: #ccc;&#60;br /&#62;
}&#60;br /&#62;
.sf-menu li li {&#60;br /&#62;
	background-color: #ffffff;&#60;br /&#62;
}&#60;br /&#62;
.sf-menu li li:hover {&#60;br /&#62;
	border-left-width: 1px;&#60;br /&#62;
	border-left-style: solid;&#60;br /&#62;
	border-left-color: #E0EAE3;&#60;br /&#62;
}&#60;br /&#62;
.sf-menu li li li {&#60;br /&#62;
	display:block;&#60;br /&#62;
}&#60;br /&#62;
.sf-menu li:hover, .sf-menu li.sfHover,&#60;br /&#62;
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {&#60;br /&#62;
	outline:		0;&#60;br /&#62;
	color: #555555;&#60;br /&#62;
	background-color: #ffffff;&#60;br /&#62;
	-moz-border-radius-topleft:5px;&#60;br /&#62;
	-moz-border-radius-topright:5px;&#60;br /&#62;
	-webkit-border-top-left-radius:5px;&#60;br /&#62;
	-webkit-border-top-right-radius:5px;&#60;br /&#62;
}&#60;br /&#62;
.sf-menu ul {&#60;br /&#62;
	border-right-width: 2px;&#60;br /&#62;
	border-bottom-width: 1px;&#60;br /&#62;
	border-left-width: 1px;&#60;br /&#62;
	border-right-style: solid;&#60;br /&#62;
	border-bottom-style: solid;&#60;br /&#62;
	border-left-style: solid;&#60;br /&#62;
	border-right-color: #ccc;&#60;br /&#62;
	border-bottom-color: #ccc;&#60;br /&#62;
	border-left-color: #ccc;&#60;br /&#62;
}&#60;br /&#62;
.sf-menu li:hover ul,&#60;br /&#62;
.sf-menu li.sfHover ul {&#60;br /&#62;
	top:32px; /* overriding essential styles */&#60;br /&#62;
	left: -1px;&#60;br /&#62;
}&#60;br /&#62;
.sf-menu ul ul {&#60;br /&#62;
    margin-top:0;&#60;br /&#62;
}&#60;br /&#62;
.sf-menu ul a {&#60;br /&#62;
	border-bottom:none;&#60;br /&#62;
	background-color: #ffffff;&#60;br /&#62;
}&#60;br /&#62;
.sf-menu ul li:hover {&#60;br /&#62;
	color: #555555;&#60;br /&#62;
	background-color: #E0EAE3;&#60;br /&#62;
	-moz-border-radius-topleft:0px;&#60;br /&#62;
	-moz-border-radius-topright:0px;&#60;br /&#62;
	-webkit-border-top-left-radius:0px;&#60;br /&#62;
	-webkit-border-top-right-radius:0px;&#60;br /&#62;
}&#60;br /&#62;
&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>roburdick on "Current page item not working for a page of posts"</title>
<link>http://themeshaper.com/forums/topic/current-page-item-not-working-for-a-page-of-posts#post-11092</link>
<pubDate>Tue, 30 Mar 2010 02:38:58 +0000</pubDate>
<dc:creator>roburdick</dc:creator>
<guid isPermaLink="false">11092@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;if ( is_page('portfolio')) { echo ' class=&#34;current_page_item&#34;'; }&#60;/p&#62;
&#60;p&#62;I tried the above line in my functions.php... Nothing.
&#60;/p&#62;</description>
</item>
<item>
<title>roburdick on "Current page item not working for a page of posts"</title>
<link>http://themeshaper.com/forums/topic/current-page-item-not-working-for-a-page-of-posts#post-11091</link>
<pubDate>Tue, 30 Mar 2010 02:13:11 +0000</pubDate>
<dc:creator>roburdick</dc:creator>
<guid isPermaLink="false">11091@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I have set up a page template to display a list of posts from a certain category. This is on the wp_list navigation menu, but does not show the 'current page item' style.&#60;/p&#62;
&#60;p&#62;Does anyone know how to resolve this?
&#60;/p&#62;</description>
</item>
<item>
<title>kgoodman on "Current Page Item and Custom Page Template"</title>
<link>http://themeshaper.com/forums/topic/current-page-item-and-custom-page-template#post-10049</link>
<pubDate>Mon, 22 Feb 2010 14:42:24 +0000</pubDate>
<dc:creator>kgoodman</dc:creator>
<guid isPermaLink="false">10049@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Okay, Page Links To plugin will not work for this issue.
&#60;/p&#62;</description>
</item>
<item>
<title>kgoodman on "Current Page Item and Custom Page Template"</title>
<link>http://themeshaper.com/forums/topic/current-page-item-and-custom-page-template#post-10034</link>
<pubDate>Mon, 22 Feb 2010 02:14:50 +0000</pubDate>
<dc:creator>kgoodman</dc:creator>
<guid isPermaLink="false">10034@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Will the Page Links To plugin work or am I barking up the wrong tree? Found that in the most round about way. Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>kgoodman on "Current Page Item and Custom Page Template"</title>
<link>http://themeshaper.com/forums/topic/current-page-item-and-custom-page-template#post-10033</link>
<pubDate>Mon, 22 Feb 2010 01:45:57 +0000</pubDate>
<dc:creator>kgoodman</dc:creator>
<guid isPermaLink="false">10033@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;br /&#62;
I am using Thematic/Feature Site as both a CMS and Blog platform for a client site.&#60;/p&#62;
&#60;p&#62;For a static page, I've created a custom page template to display only posts from a Category A.&#60;/p&#62;
&#60;p&#62;When a user goes to that page and then clicks on a post, they appear to be &#34;moved&#34; to the &#34;Blog&#34; page (in the main navigation bar).&#60;/p&#62;
&#60;p&#62;So, on this custom static page where I list only &#34;posts&#34; from a specific category (as CMS not blog), how do I keep the user on that page in the main navigation bar vs. &#34;moving&#34; him to Blog?&#60;/p&#62;
&#60;p&#62;I know, wonky question, been hard to search on this. It's hard to even figure out how to write the question (failing miserably but thanks for hanging in).&#60;/p&#62;
&#60;p&#62;See what I mean by checking out the development site. &#60;a href=&#34;http://www.kngstudio.com/&#34; rel=&#34;nofollow&#34;&#62;http://www.kngstudio.com/&#60;/a&#62; &#60;/p&#62;
&#60;p&#62;If you click on Outfitters in the main menu, and then click on one of the outfitter names, you'll see you are moved to the Blog page. I want the user to remain on &#34;Outfitters&#34; as the current page item. Just as an example.&#60;/p&#62;
&#60;p&#62;Good news: Getting the hang of thematic.&#60;/p&#62;
&#60;p&#62;Bad news: Totally clueless on this one issue (or if it's feasible).&#60;/p&#62;
&#60;p&#62;Thanks for any and all help.&#60;br /&#62;
Kyndra
&#60;/p&#62;</description>
</item>

</channel>
</rss>
