<?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 page link color2</title>
		<link>http://www.kriesi.at/support/topic/current-page-link-color2</link>
		<description>Support Forum - Topic: current page link color2</description>
		<language>en-US</language>
		<pubDate>Thu, 20 Jun 2013 01:12:58 +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-page-link-color2" rel="self" type="application/rss+xml" />

		<item>
			<title>Devin on "current page link color2"</title>
			<link>http://www.kriesi.at/support/topic/current-page-link-color2#post-53980</link>
			<pubDate>Mon, 30 Apr 2012 16:44:22 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">53980@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi jorisvh,&#60;/p&#62;
&#60;p&#62;I'm not really sure. Having not written the code in your functions I'm just not familiar with what it is doing and how to fix whats happening.&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jorisvh on "current page link color2"</title>
			<link>http://www.kriesi.at/support/topic/current-page-link-color2#post-53508</link>
			<pubDate>Thu, 26 Apr 2012 14:33:28 +0000</pubDate>
			<dc:creator>jorisvh</dc:creator>
			<guid isPermaLink="false">53508@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Anybody???&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jorisvh on "current page link color2"</title>
			<link>http://www.kriesi.at/support/topic/current-page-link-color2#post-52877</link>
			<pubDate>Mon, 23 Apr 2012 10:57:56 +0000</pubDate>
			<dc:creator>jorisvh</dc:creator>
			<guid isPermaLink="false">52877@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;THis is my code in the functions.php&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;#39;nav_menu_css_class&#38;#39;, &#38;#39;AddCurrentMenuItemClass&#38;#39;,1,2);
function AddCurrentMenuItemClass($classes,$item)
{
$link = site_url().$_SERVER[&#38;#39;REQUEST_URI&#38;#39;];
if(strpos($link, $item-&#38;gt;url) !== false)
{
$classes[] = &#38;#39;current-menu-item&#38;#39;;
}
return $classes;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This is my css code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;.current-menu-item a{
	color: #fe4e02 !important;
	font-weight:bold;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;And some HTML code of my menu:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;/div&#38;gt;&#38;lt;/div&#38;gt;&#38;lt;/div&#38;gt;&#38;lt;!--mfunc get_sidebar(&#38;quot;&#38;quot;) --&#38;gt;&#38;lt;!--/mfunc--&#38;gt;&#38;lt;div class=&#38;quot;sidebar sidebar1 box&#38;quot;&#38;gt;&#38;lt;div class=&#38;quot;inner_sidebar&#38;quot;&#38;gt;&#38;lt;div class=&#38;quot;box&#38;quot;&#38;gt;&#38;lt;div class=&#38;quot;main_menu main_menu_menu_manager&#38;quot;&#38;gt;&#38;lt;div class=&#38;quot;menu-main_menu-container&#38;quot;&#38;gt;&#38;lt;ul id=&#38;quot;menu-main_menu&#38;quot; class=&#38;quot;menu&#38;quot;&#38;gt;&#38;lt;li id=&#38;quot;menu-item-227&#38;quot; class=&#38;quot;menu-item menu-item-type-custom menu-item-object-custom first-child&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;?product=100-bamboo-orange&#38;quot;&#38;gt;&#38;lt;strong class=&#38;quot;cufon_headings&#38;quot;&#38;gt;10’0? Bamboo Orange&#38;lt;/strong&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;
&#38;lt;li id=&#38;quot;menu-item-228&#38;quot; class=&#38;quot;menu-item menu-item-type-custom menu-item-object-custom&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;?product=100-bamboo-blue&#38;quot;&#38;gt;&#38;lt;strong class=&#38;quot;cufon_headings&#38;quot;&#38;gt;10’0? Bamboo Blue&#38;lt;/strong&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;
&#38;lt;li id=&#38;quot;menu-item-229&#38;quot; class=&#38;quot;menu-item menu-item-type-custom menu-item-object-custom&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;?product=106-allround&#38;quot;&#38;gt;&#38;lt;strong class=&#38;quot;cufon_headings&#38;quot;&#38;gt;10’6? Allround&#38;lt;/strong&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;
&#38;lt;li id=&#38;quot;menu-item-247&#38;quot; class=&#38;quot;menu-item menu-item-type-custom menu-item-object-custom&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;?product=116-allround-blue&#38;quot;&#38;gt;&#38;lt;strong class=&#38;quot;cufon_headings&#38;quot;&#38;gt;11’6? Allround&#38;lt;/strong&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;
&#38;lt;li id=&#38;quot;menu-item-258&#38;quot; class=&#38;quot;menu-item menu-item-type-custom menu-item-object-custom current-menu-item&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;?product=126-race-white&#38;quot;&#38;gt;&#38;lt;strong class=&#38;quot;cufon_headings&#38;quot;&#38;gt;12’6 Race white&#38;lt;/strong&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;
&#38;lt;li id=&#38;quot;menu-item-264&#38;quot; class=&#38;quot;menu-item menu-item-type-custom menu-item-object-custom&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;?product=126-race-blue&#38;quot;&#38;gt;&#38;lt;strong class=&#38;quot;cufon_headings&#38;quot;&#38;gt;12’6? Race Blue&#38;lt;/strong&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;
&#38;lt;li id=&#38;quot;menu-item-270&#38;quot; class=&#38;quot;menu-item menu-item-type-custom menu-item-object-custom&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;?product=100-isup&#38;quot;&#38;gt;&#38;lt;strong class=&#38;quot;cufon_headings&#38;quot;&#38;gt;10’0 iSUP&#38;lt;/strong&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;
&#38;lt;li id=&#38;quot;menu-item-449&#38;quot; class=&#38;quot;menu-item menu-item-type-custom menu-item-object-custom&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;/accessories&#38;quot;&#38;gt;&#38;lt;strong class=&#38;quot;cufon_headings&#38;quot;&#38;gt;Accessoires&#38;lt;/strong&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;
&#38;lt;li id=&#38;quot;menu-item-461&#38;quot; class=&#38;quot;menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-177 current_page_item current-menu-item last-child&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;http://dev.vonorangesup.com/winkelwagen/&#38;quot;&#38;gt;&#38;lt;strong class=&#38;quot;cufon_headings&#38;quot;&#38;gt;Shopping cart&#38;lt;/strong&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Mya on "current page link color2"</title>
			<link>http://www.kriesi.at/support/topic/current-page-link-color2#post-52170</link>
			<pubDate>Wed, 18 Apr 2012 14:12:00 +0000</pubDate>
			<dc:creator>Mya</dc:creator>
			<guid isPermaLink="false">52170@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I think what Devin meant is that we would need to see a live example of this to test for ourselves. Or if you're not comfortable with posting a link you can copy the HTML that WordPress generates as well as any custom CSS.&#60;/p&#62;
&#60;p&#62;Based on what you're describing my guess is that the code in your functions.php is breaking on the last link. By that I mean when you click on the last link then another link the the current-menu-item is still listed as a class name for that last link.&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Mya
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jorisvh on "current page link color2"</title>
			<link>http://www.kriesi.at/support/topic/current-page-link-color2#post-51985</link>
			<pubDate>Tue, 17 Apr 2012 07:23:05 +0000</pubDate>
			<dc:creator>jorisvh</dc:creator>
			<guid isPermaLink="false">51985@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey Devin,&#60;/p&#62;
&#60;p&#62;I am not sure what you mean? Right now it is just css code. Do I have to include it in my function.php?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Devin on "current page link color2"</title>
			<link>http://www.kriesi.at/support/topic/current-page-link-color2#post-51855</link>
			<pubDate>Mon, 16 Apr 2012 17:10:53 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">51855@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi jorisvh,&#60;/p&#62;
&#60;p&#62;I'm not sure. You might want to include the code you have added and a link to the issue live in case anyone has a suggestion.&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jorisvh on "current page link color2"</title>
			<link>http://www.kriesi.at/support/topic/current-page-link-color2#post-51549</link>
			<pubDate>Fri, 13 Apr 2012 16:02:05 +0000</pubDate>
			<dc:creator>jorisvh</dc:creator>
			<guid isPermaLink="false">51549@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;Still got a little problem. I allready ask this here : &#60;a href=&#34;http://www.kriesi.at/support/topic/current-page-link-color&#34; rel=&#34;nofollow&#34;&#62;http://www.kriesi.at/support/topic/current-page-link-color&#60;/a&#62; but the topic allready closed. The code in my functions.php is working but when I click on the last link in the menu and go after that to another page, the last link still showing active. This is only happening for the last link. If I switich between other links it works fine. Suggetions?&#60;/p&#62;
&#60;p&#62;Thanks a lot!!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
