Lightbox Effect
-
Dear all,
I have a great problem when I click on a post image, to zoom it, it does not use lightbox effect but it opens in a new page….
I controlled settings and lightbox effect is activated.What can I do to fix the problem?
Thank you
-
Hi d4z_c0nf, I tried to use directly the parent theme but nothing changes…..
I have Always the same problem….After solving a lot of validating problems I continue to have lightbox effect not working. One of the problems obtained by W3C validator is this one:
A meta element with an http-equiv attribute whose value is X-UA-Compatible must have a content attribute with the value IE=edge.
and you can see the IE=EDGE is included:
<meta http-equiv=”X-UA-Compatible” content=”IE=9; IE=8; IE=7; IE=edge” />
Anyone has the same problem?
And Lightbox does not work!!!In my child theme I duplicated index.php and header.php due to the fact I need to have facebook box and Google analytics script could be this the duplication that affect lightbox results?
I tried to deactivate them but nothing changes!!!At last there is surely a conflict. This is the answer from Colio Plugin Author:
Yes, you are right. I found this error in JS console.TypeError: undefined is not a function (evaluating
‘a.fancybox.init()’)the problem is that you fancybox v1.3.4 which comes with your theme and
fancybox v2.0 which comes with my plugin. And they conflict with each
other. You can try to fix this by adding this code to the end of/wp-content/plugins/colio/fancybox/jquery.fancybox.min.js
jQuery.fn.fancybox.init = function(){};
The hint above did not work so, there is anything I can do to fix this problem?
Not really mrzpro sorry,
as I told you:Also , consider that the fancybox theme options should be kept disabled while using coolio (99%) as coolio has its own fancybox which might conflict with the theme’s one.
So you should disable the lightbox effect option both in the image and the gallery sections (Apperance -> Customize )
Clearly this way you’ll lose the theme’s fancybox features, but you’ll keep the coolio’s ones, pllus you can look for some plugin not conflicting with coolio which allows you to easily “lightbox” your content images.
Good luck 😉
Thank you d4z_c0nf,
I’ ll try but Colio has other problems at the moment not fixed….I have deactivated, both lightbox effect for images and authomatic zoom resize while for customizr I lost the lightbox effect for colio nothing changes !
This is weird, I can still see activated:
var TCParams = {"_disabled":[],"FancyBoxState":"1"this means that the theme’s lightbox is active..
There’s something weird on your side I’m unable to reproduce here.
Anyway you might try forcing that state to false, adding the following php code to your child-theme functions.php://Turn off fancybox via code add_filter( 'tc_opt_tc_fancybox', '__return_false', 1000); add_filter( 'tc_opt_tc_gallery_fancybox', '__return_false', 1000);If this works, it means that there’s something corrupted in your theme options db row.
I added the above code to my functions.php but nothing changes compared to previous situation after I renamed fancybox directory, Colio now works while customizr still not applying the lightbox effect to images in posts…..
The topic ‘Lightbox Effect’ is closed to new replies.
