-
AuthorPosts
-
July 9, 2014 at 9:06 pm #289200
Hi, I updated to 2.9 and the Lightbox is not working.
I read your replies to others having the same issue so I have refreshed, checked different browsers, different computers, same problem.
I have recreated the page on different installs both running 2.9
Url Removed by GOWD
and
Url Removed by GOWD
Go to the last image on the second row called The L Brown Collection.
On one version of the page instead of opening in a Lightbox it opens in a new tab and on the other version of the page it doesn’t react to mouseover at all.
The test site has no conflicting plugins or cache so it is definitely due to the update.
Please advise how to fix.
If there is no fix how do I get the previous version on Themeforest?
Thanks- This topic was modified 10 years, 5 months ago by GOWD.
July 9, 2014 at 10:06 pm #289227Hi!
Try changing that URL from:
http://goonlinewebdesign.ie/wp-content/uploads/LBrownCollection.jpg?bffe41
To:
http://goonlinewebdesign.ie/wp-content/uploads/LBrownCollection.jpg
Regards,
JosueJuly 9, 2014 at 11:52 pm #289248Hi Josue, how do I do that?
In the media section I open the image to Edit and the file Url already is Url Removed by GOWD
- This reply was modified 10 years, 5 months ago by GOWD.
July 10, 2014 at 1:04 am #289259Hi!
Do you have any plugin that may be changing the images URLs (caching/minifying/etc)?
Regards,
JosueJuly 10, 2014 at 2:46 pm #289516Hi Josue, I am using
W3 Total Cache
Better WordPress Minify
Wordfence SecurityJuly 11, 2014 at 4:05 pm #290148Hey!
Please firstly try updating the theme to version 2.9.1 via FTP – http://vimeo.com/67209750
If that does not help, please try deactivating all active pluginsCheers!
YigitJuly 11, 2014 at 4:12 pm #290155Hi Yigit,
where is 2.9.1 ?
the latest version on Themeforest is 2.9 which is what I have installed last WednesdayJuly 11, 2014 at 4:13 pm #290157Hey!
It is on ThemeForest as well. Please login on ThemeForest and go to Downloads section. Enfold theme you have in Downloads section is updated and now it is version 2.9.1 which was released a day after 2.9 to fix a small bug
Best regards,
YigitJuly 11, 2014 at 4:37 pm #290171Hi Yigit,
the 2.9.1 theme upgrade did not change the Light box issue so I starting turning off the plugins.
W3 Total Cache was causing the conflict.
So what are my options, I obviously want to have the Cache plugin as it speeds up the site but I also want the Lightbox to work.July 11, 2014 at 5:32 pm #290194Hey!
Try purging the W3 cache.
Regards,
JosueJuly 11, 2014 at 6:29 pm #290216Hi Josue, tried that, no change
As it is such a popular plugin this must effect a lot of Enfold sites
Is there somewhere on Themeforest to access the previous theme versions?
July 11, 2014 at 7:36 pm #290235Hi!
No unfortunately not but you can use any other lightbox plugin if you’d like. You should also be able to tweak w3tc settings as other users and on my own dev install have been able to use the new lightbox script even with the plugin active.
Best regards,
DevinJuly 11, 2014 at 8:29 pm #290243Hey!
I’m not sure exactly why is not working for you, i just tried W3 Total Cache on my sandbox install and it worked fine (check source code at the end):
http://www.creativehacks.com/Have you tried disabling all third-party plugins except W3 Cache?
Cheers!
JosueJuly 14, 2014 at 4:41 pm #291137Hi, I just disabled all my plugins.
Lightbox working.
I then activated only the W3 plugin and Lightbox stopped working so i know it is W3 is causing it.
Is there any way Josue that you can send me the settings you have on your W3 or do you have them just set to the default?
I want to fix this as I don’t want to have to go researching Lightbox plugins and adding more weight to the site.July 14, 2014 at 5:48 pm #291188Hi,
Open js/avia.js and look for line 801::
autolinkElements: 'a[href*="iframe=true"], a[rel^="prettyPhoto"], a[rel^="lightbox"], a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href$=".mov"] , a[href$=".swf"] , a:regex(href, .vimeo\.com/[0-9]) , a[href*="youtube.com/watch"] , a[href*="screenr.com"]',
Replace it by this:
autolinkElements: 'a[href*="iframe=true"], a[rel^="prettyPhoto"], a[rel^="lightbox"], a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href*=".jpg?"], a[href*=".png?"], a[href*=".gif?"], a[href*=".jpeg?"], a[href$=".mov"] , a[href$=".swf"] , a:regex(href, .vimeo\.com/[0-9]) , a[href*="youtube.com/watch"] , a[href*="screenr.com"]',
Regards,
JosueJuly 14, 2014 at 6:57 pm #291207Hi Josue,
that fixed it, opens in Lightbox with W3 enabled!
Problem is that is in the Enfold Theme file so when I update it to the next version will I have to manually amend line 801 every time and also for new installs of the theme?
July 14, 2014 at 6:59 pm #291208No, this fix will be included in the next update.
July 14, 2014 at 7:05 pm #291209Thanks Josue, you may close this thread
July 14, 2014 at 7:08 pm #291213You are welcome, always glad to help :)
Regards,
Josue -
AuthorPosts
- The topic ‘Lightbox not working after update’ is closed to new replies.