• Resolved eblakely

    (@eblakely)


    Trying to create on-click access control using Bloom plugin and your fantastic media plugin.

    Is there an easy way to add a special class to the gallery links which could then trigger the access control pop-up? Currently using a time-delay version instead.

    I tried using the gallery-icon or gallery item css but it doesn’t work; the css class has to be directly referring to the link.

    Here is the homepage which uses a timed pop-up instead of the onclick popup I would prefer. http://www.leadingmarks.com/solutions/manufacturing-literature/

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for the kind words and for your question. If I understand you correctly, I believe you can use the mla_link_class parameter to get the results you need. You can find more information in the MLA Gallery “Gallery Display Content” section of the Settings/Media Library Assistant Documentation tab. You can add a value to the “class” attribute of the gallery links with that parameter. You can also define a custom markup template to do anything you need, but the parameter is easier.

    I am marking this topic resolved, but please update it if you have any problems or further questions regarding the above suggestions. Thanks for your interest in the plugin.

Viewing 1 replies (of 1 total)

The topic ‘custom css for gallery links’ is closed to new replies.