The hidden class shipped with this plugin should use a display: none; which should prevent this. Perhaps your theme also have a hidden class or something else. You could try adding style="display: none;" and see if it looks different. If so then it is related to something else overriding the class that ships with this plugin.
Thanks Matt for the reply. It still shows the extra spaces for some reason even after placing the inline style. I did a “view source” after previewing in the browser and it seems that WordPress places a <br> after each <a> line. Could that have something to do with it? Oddly enough, it doesn’t show the <br> in the HTML preview area when placing the content.
Hi Matt,
I was having the same issue.
Using 21 links in a row for a gallery. The first link is the trigger, and the remaining 20 links are not visible.
I get 20 lines of white space below (after) the visible first link.
Using class=”hidden” or style=”display: none;” makes no difference.
I figured it out. I had line breaks between the ‘a’ tags (for readability) and even though this was in the HTML editor, tags were being added between the links.
I eliminated all space between the links, and all is good!
Posted here in case it helps someone else.
Thanks for the plugin!