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.
It's not a big deal, but the second time I ended up adding a class to my theme to let me hide the colorbox div, I thought why not have a class in the module called colorbox-hidden that could just be applied without having to define it each time. Patch attached.
Comment | File | Size | Author |
---|---|---|---|
#1 | colorbox-2189783-0-add-hidden-class.patch | 405 bytes | greggmarshall |
Comments
Comment #1
greggmarshallComment #2
frjo CreditAttribution: frjo commentedDrupal core already has a element-hidden class definition in system.base.css.
Comment #3
greggmarshallGood point, I think I'll add it to the documentation page.
Comment #4
frjo CreditAttribution: frjo commented