Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Menu items linked to external sites
(1 viewing) (1) Guest
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 12
TOPIC: Menu items linked to external sites
#64584
Re:Menu items linked to external sites 5 Years, 4 Months ago Karma: 0
Works beautifully, many thanks for the support! 5/5
The administrator has disabled public write access.
 
#64618
Re:Menu items linked to external sites 5 Years, 4 Months ago Karma: 0
In a previous post, you mentioned that in order to get menu items to work, add ari-fancybox-iframe CSS class to <A> element, not to <LI> or other element.

How exactly do I do this? WP allows for CSS classes to be applied to individual menu items but only to the <LI> element apparently. WP support has no idea how to add ari-fancybox-iframe to the <A> element of the menu item.


Thank you!
The administrator has disabled public write access.
 
#64622
Re:Menu items linked to external sites 5 Years, 4 Months ago Karma: 748
OK, you can add this CSS class to <LI> elements and then add the following code to "Custom JS code" parameter:

$('LI.ari-fancybox-iframe').each(function() { var $el = $(this);$el.find('a').addClass('ari-fancybox-iframe');$el.removeClass('ari-fancybox-iframe'); });

Regards,
ARI Soft
The administrator has disabled public write access.
 
#64623
Re:Menu items linked to external sites 5 Years, 4 Months ago Karma: 0
This did the trick! Thank you!
The administrator has disabled public write access.
 
Go to topPage: 12