JS conflict integrating ZenPhoto in WordPress (2 posts)

  1. minutepapillon
    Posted 3 years ago #

    Hi there,

    I've been trying to fix this all day long, but I am not a CMS expert ...
    I tried to integrate a zenphoto gallery with zpgalleriffic theme in my wordpress blog (Sterling theme). I used Ruskee's method :
    ... which means that I added my blog's footer and header to my version of the theme. The integration seems ok for the css (not too hard) but I deal with a js issue :

    The galleriffic-wrap div containing the gallery remains hidden : its css shows : display : none (if i change this using firebug I get my gallery)

    I guess some js in the senphoto theme was supposed to change this display css property but it does not trigger, I guess because of a conflict with the wp theme's JS

    The fact is that when a delete wp_head() a php function from my theme, the zpgalleriffic works properly ...

    Any idea of the way i can solve such a conflict ?

    A huge THANKS for any help !


    The page with the problem :

    My other gallery with my modified version of the theme :

  2. minutepapillon
    Posted 3 years ago #

    Dealing with this problem I discovered that the simultaneous use of jquery by galleriffic and the wordpress theme causes galleriffic to fail.
    ... and i solved the problem by removing one of the library calls...
    works well :

Topic Closed

This topic has been closed to new replies.

About this Topic