Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #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.
    #289227
    #289248

    Hi 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.
    #289259

    Hi!

    Do you have any plugin that may be changing the images URLs (caching/minifying/etc)?

    Regards,
    Josue

    #289516

    Hi Josue, I am using
    W3 Total Cache
    Better WordPress Minify
    Wordfence Security

    #290148

    Hey!

    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 plugins

    Cheers!
    Yigit

    #290155

    Hi Yigit,
    where is 2.9.1 ?
    the latest version on Themeforest is 2.9 which is what I have installed last Wednesday

    #290157

    Hey!

    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,
    Yigit

    #290171

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

    #290194

    Hey!

    Try purging the W3 cache.

    Regards,
    Josue

    #290216

    Hi 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?

    #290235

    Hi!

    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,
    Devin

    #290243

    Hey!

    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!
    Josue

    #291137

    Hi, 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.

    #291188

    Hi,

    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,
    Josue

    #291207

    Hi 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?

    #291208

    No, this fix will be included in the next update.

    #291209

    Thanks Josue, you may close this thread

    #291213

    You are welcome, always glad to help :)

    Regards,
    Josue

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘Lightbox not working after update’ is closed to new replies.