Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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) CreditAttribution: Anonymous at Cheeky Monkey Media 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) CreditAttribution: Anonymous at Cheeky Monkey Media commentedI updated the patch to include colorbox/init if not using a colorbox style.
Comment #4
Neslee Canil Pinto