Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26147

    Hi,

    I’m still annoyed with this behaviour of the portfolio.

    See post https://kriesi.at/support/topic/portfolio-items-create-blog-parent-as-active-ancestorparent

    I’d like to keep my parent page of the portfolio activated. Now When you are in a portfolio post it displays the blog as ancestor.

    Screen_Shot_2013_07_13_at_10_51_52.png

    Please, is their any way to (hard code) so I can say, as soon as a portfolio item is clicked, make this menu ID item as ancestor/active, current, parent…whatever works. Because now my Blog menu becomes highlighted when I’m in a portfolio item, which doesnt make sense at all.

    Thanks a lot in advance!

    #129475

    Ok,

    I have found a way around it. Instead of using a page, I added a parent category for all portfolio-items as menu item.

    That way I get the archive page and when going to a detail you get a class .current-portfolio-ancestor which can be added to the current menu item styles.

    The filtering you can activate by setting ‘sort’ => ‘yes’ in taxonomy-portflio_entries.

    Cheers

    #129476

    Hi,

    You can also, manipulate the style of the menu to disable the active menu styling.

    .header_color .main_menu ul:first-child > li.active-parent-item > a {
    color: gray;
    font-weight: normal;
    }

    Glad you fixed it.

    Regards,

    Ismael

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Portfolio items create blog parent as active ancestor/parent’ is closed to new replies.