Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.The method now to implement a custom style for colorbox is to select "None" in configuration and then implement the styles in theme.
It would be nice if it is possible to add styles to the selection via custom modules plugins.
Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | hook_colorbox_styles-2895642-3.patch | 5.09 KB | Anonymous (not verified) |
Comments
Comment #2
Anonymous (not verified) commentedI've added a new api hook - hook_colorbox_styles() to expose libraries from other modules/themes as custom colorbox styles.
Comment #3
Anonymous (not verified) commentedI updated the patch to include colorbox/init if not using a colorbox style.
Comment #4
neslee canil pinto