Hello, my client would like to change styling of the currently selected individual tags based on which
fs-cmsfilter-field the tag relates to.
Category field tags: blue background, dark blue text
Search field tag: Violet background, Purple text
I’ve tried using
fs-cmsfilter-tagformat but found that they only change the inner text which I cannot target via CSS.
One possible solution for future iterations of Attributes would be the ability to override the default tag template (set by
fs-cmsfilter-element=tag-template) for specific Filter fields/search.
Hey @timd! I’ll add this as a feature request for CMS Filter v2. If you have a link where you are trying this I can help you if you share the links
Thanks, @Support-Luis, the project share link is below.
Webflow - YellowCanary Master
Hey @timd! Sorry for the late reply. You can read more about the CMS Filter API here, I believe the
renderitems event will be what you are looking for as this event fires each time items are rendered after a filter is applied.
Is it possible to add a feature request for ‘Tag Template per filter-field’ please?
Hey @tim! Great to hear this can solve your issue!
I can add a feature request for CMS Filter V2 but we do not have an ETA for this
No worries, thanks @Support-Luis