Before you ask please READ THIS

Main menu item not selected?

in FatMoon Posts: 136
Hi guys,
Amost ready to start uploading images and copy. But I have another small issue.

When I click on a work item like - for instance - below:
http://bumsch.com/work/bread_packaging_bakkersland/

The "Work" main menu item is not in it's selected darker color.
like it is when you are here:
http://bumsch.com

I would like for the main menu to always tell me where I am on the site.

Any thoughts?

Cheers
Screen Shot 2016-10-26 at 11.03.03 .png
1696 x 766 - 673K

Comments

  • AirAir
    Posts: 10,970
    Hello there:-)

    You would have to make it as sub item of "Work" to highlight "Work" menu position. This is how menu in WordPress works :-)
    Any other way would require to modify WordPress, write some custom code, or mark it with JavaScript.

    With kind regards.
  • Posts: 136
    I am not quite sure how to do the first option? Could you explain further or otherwise help me out with some custom code?

    Thx!
  • AirAir
    edited October 2016 Posts: 10,970
    You will have to make submenu with this item under Works - normal constructing menus in WordPress ->
    http://apollo13.eu/docs/apollo13_framework_theme/#!/adding_menu

    Custom code without making submenu would be something like this:
    body.single-work li#menu-item-8999 > a{
    color: rgba(34,34,34,1);
    }
    With kind regards.
    Post edited by Air on
  • Posts: 136
    Hi Air,
    Thanks for the info. Unfortunately it's not working for me. I tried both routes. I must be doing something wrong. Can you please have another look?

    Basically I would like to have the menu item work highlighted when I click on a work item. for instance this one. http://bumsch.com/work/bread_packaging_bakkersland/

    Thanks again!
  • AirAir
    Posts: 10,970
    Yes, cause you changed your menu from yesterday, so it can't work. I have updated code, so try again.

    With kind regards.
  • Posts: 136
    Brilliant, It works!

    Thx
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!