Problem/Motivation

After processing via facet_block there is no way to reference each facet separately via CSS. It would be good if the wrapping div via facets-block.html.twig had a class specific to the facet, e.g. derived from machine name.

CommentFileSizeAuthor
#2 3368867-unique-class-per-facet.patch566 bytesjonathan_hunt

Comments

jonathan_hunt created an issue. See original summary.

jonathan_hunt’s picture

StatusFileSize
new566 bytes
rpayanm’s picture

It works like a charm. Thank you!

rpayanm’s picture

Status: Active » Reviewed & tested by the community
gnikolovski’s picture

Version: 2.0.0-beta2 » 2.0.x-dev
Assigned: Unassigned » gnikolovski

  • gnikolovski committed 90535767 on 2.0.x
    Issue #3368867 by jonathan_hunt, rpayanm, gnikolovski: Inject class...
gnikolovski’s picture

Status: Reviewed & tested by the community » Fixed

Thanks!

Status: Fixed » Closed (fixed)

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