Disable autodetect in menu
-
Hi,
I have a link to my Vimeo channel in the main menu on my website and unfortunately when clicked, opens an empty lightbox.
I believe this is caused by the autodetect, however I need to enable this as it isn’t possible to manually specify the class for other links elsewhere on my site where I need the lightbox.
I have tried specifying ‘nolightbox’ as the class in the menu options from within the WordPress dashboard, however inspecting the source it appears the autodetect is triggered after the ‘nolightbox’, overriding it:
<li class="nolightbox menu-item menu-item-type-custom menu-item-object-custom menu-item-4314 depth-0"><a target="_blank" href="https://vimeo.com/wildfilmsltd" class="link link-depth-0 fancybox-vimeo"><span><i class="fa fa-vimeo" aria-hidden="false"></i></span></a></li>
Is there any other solution to disabling the lightbox popup, either on the individual link or on the menu as a whole?
Thanks in advance.
The page I need help with: [log in to see the link]
- The topic ‘Disable autodetect in menu’ is closed to new replies.