-
AuthorPosts
-
September 17, 2013 at 11:17 pm #162568
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,
TomasSeptember 18, 2013 at 2:56 pm #162943September 18, 2013 at 3:15 pm #162956Hi,
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: testRegards,
TomasSeptember 19, 2013 at 7:17 pm #163716Hey!
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 bothCheers!
YigitSeptember 19, 2013 at 11:32 pm #163781Hi 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,
TomasSeptember 19, 2013 at 11:34 pm #163784Hello!
Please remove browser cache then refresh your page a few times. I tested and it worked on my end
Regards,
YigitSeptember 19, 2013 at 11:52 pm #163793Thanks 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…
September 20, 2013 at 9:36 am #163971Hello!
See https://kriesi.at/support/topic/disable-lightbox-on-ajax-portfolio-featured-image-only/
Best regards,
PeterSeptember 23, 2013 at 4:41 pm #165200Great, that worked!
Thanks Dude! :)
-
AuthorPosts
- The topic ‘Remove lightbox/image link from Ajax preview’ is closed to new replies.
