0

I want to override taxonomy term view views-view-field.html.twig to style the list of taxonomy term content.

I can't seem to find what the correct override is. My debug suggestions are not suggesting anything.

I have tried:

views-view-fields--taxonomy-term--%.html.twig
views-view-fields--taxonomy-term.html.twig

What is the correct template name to target the views-view-fields of the taxonomy term view?

1
views-view-fields--taxonomy-term.html.twig

This is the correct template suggestion. For it to work however, the default taxonomy view must be configured to render the content as fields rather than as the content its self.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.