<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Support Forum - Topic: Current menu item / page item active states for portfolio items</title>
		<link>http://www.kriesi.at/support/topic/current-menu-item-page-item-active-states-for-portfolio-items</link>
		<description>Support Forum - Topic: Current menu item / page item active states for portfolio items</description>
		<language>en-US</language>
		<pubDate>Sat, 25 May 2013 20:02:00 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/current-menu-item-page-item-active-states-for-portfolio-items" rel="self" type="application/rss+xml" />

		<item>
			<title>wildefranz on "Current menu item / page item active states for portfolio items"</title>
			<link>http://www.kriesi.at/support/topic/current-menu-item-page-item-active-states-for-portfolio-items#post-49108</link>
			<pubDate>Thu, 29 Mar 2012 19:48:28 +0000</pubDate>
			<dc:creator>wildefranz</dc:creator>
			<guid isPermaLink="false">49108@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;YOU ARE A GENIUS!!!!!!!!!&#60;/p&#62;
&#60;p&#62;This is exactly what I needed.&#60;/p&#62;
&#60;p&#62;Thank you thank you thank you!!!! Can I buy you a beer?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Mya on "Current menu item / page item active states for portfolio items"</title>
			<link>http://www.kriesi.at/support/topic/current-menu-item-page-item-active-states-for-portfolio-items#post-49069</link>
			<pubDate>Thu, 29 Mar 2012 16:51:42 +0000</pubDate>
			<dc:creator>Mya</dc:creator>
			<guid isPermaLink="false">49069@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Sara,&#60;/p&#62;
&#60;p&#62;If I understand all you really want is &#34;Portfolio&#34; to be highlighted in the main menu when on a single portfolio page. If I'm not mistaken this can be &#34;faked&#34; simply by adding some CSS to your custom.css or Quick CSS box under Angular &#38;gt; Theme Options &#38;gt; Styling.&#60;/p&#62;
&#60;p&#62;The CSS you would want to add is:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;body.single-portfolio .main_menu ul li#menu-item-407 a {
	border-bottom: 2px solid #f0b70c;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;To explain what's going on here: I've set the menu item #407 to the active state on every page that has the body class &#34;single-portfolio&#34; which would be all your individual portfolio pages.&#60;/p&#62;
&#60;p&#62;Now a couple of caveats to this:&#60;/p&#62;
&#60;p&#62;1) #menu-item-407 is the ID of &#34;Portfolio&#34; in the demo's menu. The number you use will be different. To find out what yours is, you'll need to view your page's source code and find the link for the portfolio page. You'll be looking for something like this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;li id=&#38;quot;menu-item-###&#38;quot; class=&#38;quot;menu-item menu-item-type-post_type menu-item-object-page menu-item-###&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;LINK-TO-YOUR-PORTFOLIO&#38;quot;&#38;gt;Portfolio&#38;lt;/a&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Once you found the number replace 407 in the code I provided above and you should be good to go.&#60;/p&#62;
&#60;p&#62;2) The color code (#f0b70c) for the border will change depending on your website's skin. So you'll want to change that as well.&#60;/p&#62;
&#60;p&#62;Let us know if you need help with finding your menu item ID.&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Mya
&#60;/p&#62;</description>
		</item>
		<item>
			<title>wildefranz on "Current menu item / page item active states for portfolio items"</title>
			<link>http://www.kriesi.at/support/topic/current-menu-item-page-item-active-states-for-portfolio-items#post-48824</link>
			<pubDate>Wed, 28 Mar 2012 17:39:37 +0000</pubDate>
			<dc:creator>wildefranz</dc:creator>
			<guid isPermaLink="false">48824@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Sorry, but I really need to get this to work. It just seems sloppy if all other pages can be active and this can't be.&#60;/p&#62;
&#60;p&#62;Do you guys do custom work then?&#60;/p&#62;
&#60;p&#62;I also found this: &#60;a href=&#34;http://www.gravitationalfx.com/how-to-set-a-page-as-the-parent-of-a-wordpress-custom-post-type/&#34; rel=&#34;nofollow&#34;&#62;http://www.gravitationalfx.com/how-to-set-a-page-as-the-parent-of-a-wordpress-custom-post-type/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If I can set the parent for the portfolio custom post type, then wouldn't it work?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Sara
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Current menu item / page item active states for portfolio items"</title>
			<link>http://www.kriesi.at/support/topic/current-menu-item-page-item-active-states-for-portfolio-items#post-48247</link>
			<pubDate>Mon, 26 Mar 2012 06:39:40 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">48247@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi! &#60;/p&#62;
&#60;p&#62; I don't think so. Maybe you could use some code parts as a starting point but this solution wouldn't integrate seamlessly into the avia framework. &#60;/p&#62;
&#60;p&#62; Regards,&#60;br /&#62;
Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>wildefranz on "Current menu item / page item active states for portfolio items"</title>
			<link>http://www.kriesi.at/support/topic/current-menu-item-page-item-active-states-for-portfolio-items#post-48047</link>
			<pubDate>Fri, 23 Mar 2012 20:12:48 +0000</pubDate>
			<dc:creator>wildefranz</dc:creator>
			<guid isPermaLink="false">48047@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I'm a newb when it comes to PHP... but I did find this article. Would this work? I just can't wrap my head around it all:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wp.tutsplus.com/tutorials/setting-active-navigation-elements-when-wordpress-doesnt/&#34; rel=&#34;nofollow&#34;&#62;http://wp.tutsplus.com/tutorials/setting-active-navigation-elements-when-wordpress-doesnt/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kriesi on "Current menu item / page item active states for portfolio items"</title>
			<link>http://www.kriesi.at/support/topic/current-menu-item-page-item-active-states-for-portfolio-items#post-47598</link>
			<pubDate>Wed, 21 Mar 2012 23:44:24 +0000</pubDate>
			<dc:creator>Kriesi</dc:creator>
			<guid isPermaLink="false">47598@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey! As already mentioned in a previous thread: I am sorry but that is not possible. The reason for this is that there is no connection that wordpress could find between single portfolio entries and portfolio overviews:&#60;/p&#62;
&#60;p&#62;A single portfolio entry can be shown on any number of portfolio overview pages and wordpress cant know which one was used to navigate to the single entry. This one to many relationship prevents proper highlighting of the menu items.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>naires on "Current menu item / page item active states for portfolio items"</title>
			<link>http://www.kriesi.at/support/topic/current-menu-item-page-item-active-states-for-portfolio-items#post-47358</link>
			<pubDate>Wed, 21 Mar 2012 09:39:16 +0000</pubDate>
			<dc:creator>naires</dc:creator>
			<guid isPermaLink="false">47358@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I also support this request.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>wildefranz on "Current menu item / page item active states for portfolio items"</title>
			<link>http://www.kriesi.at/support/topic/current-menu-item-page-item-active-states-for-portfolio-items#post-47264</link>
			<pubDate>Tue, 20 Mar 2012 21:45:46 +0000</pubDate>
			<dc:creator>wildefranz</dc:creator>
			<guid isPermaLink="false">47264@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I would like to keep &#34;PORTFOLIO&#34; in the main navigation still active when you click on one of the portfolio items to view more of that work.&#60;/p&#62;
&#60;p&#62;Using the demo as an example, here portfolio is still highlighted / active: &#60;a href=&#34;http://www.kriesi.at/themes/angular/template-files/portfolio-4-columns/&#34; rel=&#34;nofollow&#34;&#62;http://www.kriesi.at/themes/angular/template-files/portfolio-4-columns/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;But once I click on a portfolio item, nothing in the main nav is highlighted: &#60;a href=&#34;http://www.kriesi.at/themes/angular/portfolio-item/happy-holidays/&#34; rel=&#34;nofollow&#34;&#62;http://www.kriesi.at/themes/angular/portfolio-item/happy-holidays/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Is there a way to force &#34;PORTFOLIO&#34; to still be highlighted even though it's not really connected I guess?&#60;/p&#62;
&#60;p&#62;I really need this to work and I hope you could steer me in the right direction.&#60;/p&#62;
&#60;p&#62;Thank you!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
