Support » Theme: Pinboard » Dropdown navigation breaks using AJAX Links

  • Hi,

    When ‘AJAX links’ is selected in the theme options and after clicking ‘Load more posts’ the drop down navigation no longer works.

    I noticed that ‘opacity: 0’ is added to the style of sub-menu preventing it from showing.

    Can anyone confirm this?

    Cheers,
    David

Viewing 1 replies (of 1 total)
  • If anyone is wanting to use the Ajax Links for navigation without breaking their menu, here’s a workaround:

    Put the following into the custom css:

    .sub-menu-opacity-fix {
        opacity: 1 !important;
    }

    Place the following into functions.php at the start of the function ‘nav_link.click(function() {‘
    $('.sub-menu').addClass('sub-menu-opacity-fix');

    You lose the fade effect of the sub-menu after clicking more posts, but it’s much better than losing the sub-menu altogether!

    Cheers,
    David

Viewing 1 replies (of 1 total)
  • The topic ‘Dropdown navigation breaks using AJAX Links’ is closed to new replies.