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.
When using the Facets block the links itself work fine, but it's hard to theme the active links using CSS. They all seem to have the class "inactive", disregarding the fact they're actually active (because the visitor just clicked them and the results were being filtered accordingly).
How can we solve this please?
Comment | File | Size | Author |
---|---|---|---|
#2 | screenshot_605.png | 87.58 KB | eugene.ilyin |
Comments
Comment #2
eugene.ilyin CreditAttribution: eugene.ilyin as a volunteer and at DrupalJedi commentedPlease look at the screenshot.
I see that classes set correct. Seems this problem is already fixed.
Also, you can use theme functions:
theme_facetapi_link_inactive
theme_facetapi_link_active
to render html as you want.
Comment #3
eugene.ilyin CreditAttribution: eugene.ilyin as a volunteer and at DrupalJedi commented