Some themes and plugin may change the HTML output generated by Awesome Gallery and break its normal operation. It is especially the case with some older “free” themes those inserted
<p></p> tags instead of spaces adding extra padding when not necessary.
To fix this problem, you first need to try to enable “Use shortcode hack” option at Awesome Gallery’s global configuration. If it does not fix the issue – you need to disable it, and then do an “investigation”:
- Try to switch to an another theme (preferrably some standard one) for a few minuts. If that fixes the problem – you’ll need to contact theme’s author for an updated version that does not change shortcode output.
- Disable other plugins one by one, each time checking if the problem with Awesome Gallery disappeared. The last one disabled before Awesome Gallery starts to work correctly is the “suspect” for update / being disabled.