WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery geo
[resolved] Overlay conflict with fancybox plugin (9 posts)

  1. kanka
    Member
    Posted 1 year ago #

    Hi again,

    I got bitten by another bug, a minor one.

    I need some fancybox plugin for NextGEN gallery, and for this I use the easy fancybox plugin.

    For it not to conflict with the fancybox included in your plugin, I'm using slimbox to display galleries on the worldmap: it works fine.

    There is however a small glitch: if I activate overlays in easy fancybox, the overlay gets on top of any images of the site, getting them grey, except on the worldmap. Click on any picture here for an example:
    http://ailleurs.kanka.ch/?page_id=196

    I reported the problem on easy fancybox's forum, and this plugin's dev (RavanH) pointed a conflict on stylesheets from his and your fancybox. Link here:
    https://wordpress.org/support/topic/plugin-easy-fancybox-overlay-is-over-images?replies=3#post-3143680

    As I said, it's a minor problem, as I can disable overlays for pictures not on the worldmap.

    http://wordpress.org/extend/plugins/nextgen-gallery-geo/

  2. frest.de
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,
    thanks for your report.
    I have to think about a solution.

    Bis dann,
    Frederic

    PS: wow, great worldmap!

  3. kanka
    Member
    Posted 1 year ago #

    Ok.

    And for the worldmap, thanks to you :)

  4. RavanH
    Member
    Posted 1 year ago #

    Hi all, as far as I can see, even though kanka chose Slimbox for NextGEN Gallery geo, still the fancybox stylesheet http://ailleurs.kanka.ch/wp-content/plugins/nextgen-gallery-geo/js/fancybox/jquery.fancybox.css?v=2.0.6 gets included. And it is there that the problem arises due to a different z-index for the overlay div.

    Would it be possible to not include that stylesheet when Slimbox is used? If so, the conflict would be solved :)

  5. frest.de
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, thats right. I have thougtht about this solution,too. There is one reason, why I include both css files: the .css files are included in the header. There would be one additional SQL request on each page, only to check which lightbox have been chosen- not really smart.

    There must be a better solution..
    May be its better not to integrate a lightbox.

    If you want to "solve" the problem, you can simply delete the .css file.

  6. kanka
    Member
    Posted 1 year ago #

    Deleting the css worked, thanks for the suggestion - though maybe not an elegant solution, it solves my problem.

    And thanks to both of you - great support!

    As far as I'm concerned, the topic is solved: frest.de I let you change the status according to your plans on the subject.

    Edit: just a precision: it is this file that needs to be deleted/renamed:
    wp-content/plugins/nextgen-gallery-geo/js/fancybox/jquery.fancybox.css

  7. frest.de
    Member
    Plugin Author

    Posted 1 year ago #

    fixed without a additional SQL request. ;)

  8. kanka
    Member
    Posted 1 year ago #

    Great! I can't see an update of the plugin in my control panel though, will you publish the change in a later revision?
    Edit: typo

  9. frest.de
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, this bugfix will be part of the next update.

    You can use the developement, till I release the update:

    http://downloads.wordpress.org/plugin/nextgen-gallery-geo.zip

    Bis dann,
    Frederic

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic