I am trying to figure out if there is a way to override the base templates for one view.
I created a page with a view called 'Promotions'.
I need to override the views-view-field.html.twig
, views-view-fields.html.twig
, and views-view-unformatted.html.twig
for just the one view/page.
I read about putting it into your custom theme's template folder in it's own folder that mimics the page name.
In my case, following the example it was views-view-fields--promotions--page
.
The overrides work but they work for all the views (pages and blocks) that I created.
Can you narrow it down to just one view/page?