Thank you very much! I was able to use the expandInNewPage configuration option to effectively work around this issue.

What if these galleries are being made via a View from Drupal's Juicebox module? I don't have direct access to the JuiceboxBuilder options for each node. Is there a master config.xml file that the module uses that I can edit?

I've been having some issues with Superfish menus overlapping Juicebox galleries for my home page. I was able to get the menus to display over the galleries by adjusting the z-index, like so:

https://i.imgur.com/NWY12nR.png

However, I've been having a problem with the same menus overlapping Juicebox's "Expand Gallery" mode, like so:

https://i.imgur.com/pOW1yHr.png

I've even tried returning the z-index values of the superfish menus back to their original values, but that didn't work either. Is there a way I can modify the CSS or JS to fix this bug?