Reply To: Fancybox in Button

Your Account / Forums / Easy FancyBox Pro / Fancybox in Button / Reply To: Fancybox in Button

March 19, 2019 at 10:50 pm #13547

OK, thanks for those images they tell me a lot 🙂 … It does not seem to be a regular WordPress menu so there is no option to add a class to the menu item itself. But the Javascript Body field will allow us to add some script that could help us.

Please try:


jQuery(function($){$('.bddex-menu-btn').addClass('fancybox-inline');});

I’m not sure if the theme will wrap the code in the correct script tags though. So if it does not work, can you share a link to your dev site so I can take a look at the result? You can use the contact form to keep the link off this public forum.