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


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 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.


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?

disabling external links in navbar n widgets
(1 viewing) (1) Guest
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 1
TOPIC: disabling external links in navbar n widgets
#63095
disabling external links in navbar n widgets 6 Years, 7 Months ago Karma: 0
Hello Ari Soft,

Love the work you guys are doing!

I tried to assign the "no-lightbox" on external links using the wordpress native menu css class for the nav bar (and, as for widgets, my page builder(elementor) plugin custom class option).

However, the class assignment ends up in the parent element and not the actual anchor tag.

I've been looking for plugins that could help me inject the "no-lightbox" class on the correct line but wasn't able to find one....

Any help appreciated.

Warm Regards,
H
Last Edit: 2018/05/12 04:56 By findingnamo.
The administrator has disabled public write access.
 
#63097
Re:disabling external links in navbar n widgets 6 Years, 7 Months ago Karma: 760
Hello,

Try the following solution:

Open "Advanced" tab on "ARI Fancy Lightbox -> Settings" page and populate "Custom JS code" textarea with the following code:

Code:


$('.no-lightbox>a').addClass('no-lightbox');



Regards,
ARI Soft
The administrator has disabled public write access.
 
#63100
Re:disabling external links in navbar n widgets 6 Years, 7 Months ago Karma: 0
Thank you for the quick response! The solution works!!

I appreciate your help!! Have a nice weekend.

Best Regards,
H
The administrator has disabled public write access.
 
Go to topPage: 1