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!

CommentFileSizeAuthor
#3 hook_colorbox_styles-2895642-3.patch5.09 KBAnonymous (not verified)
#2 hook_colorbox_styles-2895642.patch4.97 KBAnonymous (not verified)

Comments

Ismail Cherri created an issue. See original summary.

Anonymous’s picture

Status: Active » Needs review
StatusFileSize
new4.97 KB

I've added a new api hook - hook_colorbox_styles() to expose libraries from other modules/themes as custom colorbox styles.

Anonymous’s picture

StatusFileSize
new5.09 KB

I updated the patch to include colorbox/init if not using a colorbox style.

neslee canil pinto’s picture

Status: Needs review » Closed (won't fix)