Support » Theme: Responsive » Tinynav doesn't keep category-items

  • Resolved Pascal Piller

    (@pascal-piller)


    I use the Responsive Theme with Tinynav. Tinynav works fine. Only when a category(menu-item) is choosen the navigation jumps back to first menu-item (which is not a category). I would like to keep the category-item shown in the Tinynav, when Category is open. What can I do?

    http://wordpress.org/extend/themes/responsive/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Emil Uzelac

    (@emiluzelac)

    Theme Review Admin

    Hi,

    Sorry, but there’s not much we can do to change that, there’s no support for current categories, only current page items. Theme by itself would not “highlight” categories either way 🙂

    Thanks,
    Emil

    Pascal Piller

    (@pascal-piller)

    Ok, thank you anyway.
    Pascal

    Emil Uzelac

    (@emiluzelac)

    Theme Review Admin

    No problem 🙂

    Emil

    Pascal Piller

    (@pascal-piller)

    Hello Emil

    I found a part-solution of my tinyNav problem. I changed jQuery settings in “js/responsive-plugins.js” in line 21. I simply changed the active class “current_page_item” into “current-menu-item”. Now tinyNav keeps my category items and subcategory items .

    Unfortunatly I can’t define more than one active class. I would add “current-post-ancestor”, when no “current-menu-item” class exists …

    Pascal

    Emil Uzelac

    (@emiluzelac)

    Theme Review Admin

    Hi,

    current_page_item should work both for standard and custom menus because it is included along the size of current-menu-item. Here is an example:

    menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-1950

    However, when category is used in custom menus current_page_item would not apply:

    menu-item menu-item-type-taxonomy menu-item-object-category current-menu-item menu-item-713

    You can add your custom JS via Child Theme, modify what you changed above and also add a second JS for categories I believe.

    Thanks,
    Emil

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Tinynav doesn't keep category-items’ is closed to new replies.