Hi!
I wonder if I can remove the lightbox (and the whole link from the images) in ajax preview? Im using sliders and don’t want any link from them at all, just the slide.
Regards,
Tomas
Hi,
That solution removed the lightbox, but there is still a image link (opens up in full window). I want to remove the link completely (or go to next image when clicked).
My site is:
http://agwp.agarkitekter.se/projekt/
Username: test
Password: test
Regards,
Tomas
Hey!
I’m not sure if this is a good practice but you can try it.
In your WordPress theme directory please go to Enfold > Config-templatebuilder > Avia-shortcodes and open Gallery.php file and find following code line 198
http://i.imgur.com/3BsqS15.jpg
and change it to
http://i.imgur.com/Ojp1iF5.jpg
Then find following code in line 204
http://i.imgur.com/Og0BjUu.jpg
and change it to
http://i.imgur.com/3V7ImHD.jpg
Basically remove what’s inside href in both
Cheers!
Yigit
Hi again!
Such a solution is no problem, I can edit any file at all :) But unfortunately, this doesn’t seem to work, I get no change at all after editing those two lines.
Regards,
Tomas
Hello!
Please remove browser cache then refresh your page a few times. I tested and it worked on my end
Regards,
Yigit
Thanks for a superfast answer!
Hmm, I try removing the cache and reload on and on, but it’s still a link. Im testing it on Chrome and IE on Windows 7. But I think something should happen since the code is changed. Really strange…
Hello!
See https://kriesi.at/support/topic/disable-lightbox-on-ajax-portfolio-featured-image-only/
Best regards,
Peter
Great, that worked!
Thanks Dude! :)