If you have more images in a gallery than display with the gallery node (for example, if the gallery node is displayed in a block with only a couple images showing), we put links to each image on the page that are there for the Colorbox JavaScript to be able to use. These allow the entire gallery to be paged through once it is opened up in a lightbox.

But, those links are displaying in funny ways in some themes (for example, because it's an unordered list sometimes you can see the circular disc associated with the list item).

This patch sets them to display: none to fix that problem.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Aonoa’s picture

Thank you for this patch. This problem is the same as I described in issue #1000538, and your patch fixed it.

Best regards,
Ao

David_Rothstein’s picture

Status: Needs review » Closed (duplicate)

Oops, sorry I missed that one. I'll move the patch over there.

David_Rothstein’s picture