Currently, it's not possible to alter in custom CSS classes per facet API item as they get overwritten by the CSS classes provided by the widget. Attached patch enables modules to alter in custom CSS classes by merging them with the widget classes.

CommentFileSizeAuthor
d7_facetapi_class.patch642 bytesfago
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cpliakas’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

  • cpliakas committed 250ee4a on 7.x-1.x authored by fago
    Issue #2034779 by fago: Impossible to alter in custom CSS classes.
    

  • cpliakas committed febadb0 on authored by fago
    Issue #2034779 by fago: Impossible to alter in custom CSS classes.
    
cpliakas’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for the contribution!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.