Custom classes for filter elements

Created on 21 May 2025, about 1 month ago

Problem/Motivation

Currently, it is possible to either make the filter form element collapsible or hide its label. However, there are no additional styling options available. While it is technically feasible to apply custom styling via preprocess functions, targeting a specific filter within a specific view is not that elegant.

Proposed resolution

I thought about adding a new field to the "Advanced filter options" section, which would allow us to put some custom CSS classes to the filter form element. This would provide greater flexibility and control over the element’s styling.

Feature request
Status

Needs review

Version

7.0

Component

User interface

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024