Jump to content


Photo
- - - - -

Current page in menu


Best Answer Danny , 16 December 2013 - 12:26 PM

Hi,

 

We do not provide extensive CSS support. I have looked at both menus and they do indeed support the current-menu-item class. Therefore, if this isn't working its how you have implemented it into your CSS.

 

You will want to do it like this for both your sidebar menu and your footer menu.

 

ID or class where the Menu in the sidebar menu case this would be #menu-magasin

 

Then after this you will could probably just use li.current-menu-item a then add your CSS so it would look like this:

 

#menu-magasin li.current-menu-item a { ... }
 
You will need to do the same for the Footer menu.
Go to the full post


  • Please log in to reply
3 replies to this topic

#1 bobbekaer

bobbekaer

    Advanced Member

  • Members

  • 89 posts
  • Framework Version:2.3.6
  • Country: Country Flag

Posted 16 December 2013 - 11:45 AM

Hi

 

On 

Please Login or Register to see this Hidden Content

 I am trying to get the menu to show black font-color when on the page.

 

I am using the .current-menu a and the .current-menu-parent a in the top menu and it works fine. But not on the page:

Please Login or Register to see this Hidden Content

 (or in the footer menu...)

 

Is there any way to achieve this?

 

Best,

Bolette

 



#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 13021 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 16 December 2013 - 12:26 PM   Best Answer

Hi,

 

We do not provide extensive CSS support. I have looked at both menus and they do indeed support the current-menu-item class. Therefore, if this isn't working its how you have implemented it into your CSS.

 

You will want to do it like this for both your sidebar menu and your footer menu.

 

ID or class where the Menu in the sidebar menu case this would be #menu-magasin

 

Then after this you will could probably just use li.current-menu-item a then add your CSS so it would look like this:

 

#menu-magasin li.current-menu-item a { ... }
 
You will need to do the same for the Footer menu.


#3 bobbekaer

bobbekaer

    Advanced Member

  • Members

  • 89 posts
  • Framework Version:2.3.6
  • Country: Country Flag

Posted 16 December 2013 - 12:46 PM

Hi Danny

 

Thank you :-D

 

It works fine.



#4 Danny

Danny

    Is Awesome!

  • Moderators
  • 13021 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 16 December 2013 - 01:05 PM

Cool and no problem.