If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
January 26, 2012 at 1:46 pm #8529
I’m using Fancybox to open the images on my website.
To be able to use only Fancybox, I commented out the call for the /js/prettyPhoto/css/prettyPhoto.css stylesheet in the in the /newcast/header.php file.
The problem I’m having now is that after opening an image, it gets shown below the footer creating a huge empty space at the very bottom of the page.
I also deactivated Fancybox plugin but with the /js/prettyPhoto/css/prettyPhoto.css stylesheet commented out, I’m still getting the same problem.
Can you help me by pointing me to the right direction to correct this problem? I’d like to deactivate the default prettyPhoto and use Fancybox, but without weird behaviors.
You can see the problem here: http://adventurafrica.com/wordpress/en/splash/January 27, 2012 at 6:36 am #61695
I think the lightbox appends the lightbox overlay div to the wrong html element because of the coding error.January 27, 2012 at 11:07 am #61696
I cleaned up a bit the HTML that I wrote, but most of the errors reported by the validator are from HTML that is generated either by the Theme itself or some plugin I have installed.
None of those errors seem to be the culprit though (like the missing ALT attribute for images…).
Also, the problem shows up identical on every page of the website which have different HTML and, most likely, different HTML validation errors. So I don’t think the problem is in the HTML.
Thank you.January 28, 2012 at 8:51 am #61697
one question… How do I disable/detach prettyPhoto completeply from the theme? I commented out the call for the jquery.prettyPhoto.js
in the header_includes.php file (see below)
//$my_prettyphoto = get_bloginfo(‘template_url’).”/js/prettyPhoto/js/jquery.prettyPhoto.js”;
but the result is that now all the images in my website have disappeared.
Can you suggest how to disable the default prettyPhoto, without screwing things?
The topic ‘Images opening below footer… something wrong!’ is closed to new replies.