More flexible overriding of gallery short code default CSS
|Reported by:||jb510||Owned by:||jb510|
The default gallery CSS can be removed by filter (use_default_gallery_style), but it seems to me it'd also be nice to override the CSS conditionally on a post by post or gallery by gallery basis rather than globally and without having to write conditional statements in php to do it.
Users could then continue to use the gallery short code's automatically generated CSS, but override it selectively without needing PHP.
One option would be to pass a class into the shortcode, but I think just the ability to pass in an attribute disabling the default CSS would actually be best.
Change History (7)
- Resolution set to wontfix
- Status changed from assigned to closed