1

(1 replies, posted in Juicebox-Pro Support)

I have a JuiceBox gallery that I embed in an (Joomla) article. Works fine except that I can’t center it, it’s aligned to the left. The align-center tag works fine for the div-tag with the “HEADLINE” text, but not for the gallery.
Any idears?

<div align="center">HEADLINE</div>  //Works fine

<!--START JUICEBOX EMBED-->
<script src="/jsn/images/mypics/lightroom/juicebox/JB_Default/jbcore/juicebox.js"></script>

<script>
  new juicebox({
    baseUrl : '/jsn/images/mypics/lightroom/juicebox/JB_Default/',
    containerId : 'juicebox-container',
    galleryWidth : '50%',
    galleryHeight : '50%',
    backgroundColor: '#222222'
  });
  </script>

<div align="center" id="juicebox-container"></div>  //NOT Working

<!--END JUICEBOX EMBED-->