I am working with drupal8. I have created a views with owlCarousel format.I want to add twig template for this carousel views.How to name this twig template?

  • Have you already enabled Twig Debugging? If not, enable it. It will print you template suggestion into your HTML as HTML comments. – leymannx Sep 10 '18 at 13:19
  • Yes ..i have enabled.This is the template suggestion "owlcarousel-views.html.twig" i have got from source.And my view name is "expert_talk".I dont know how to name this theme file. – salu Sep 11 '18 at 8:31

You need to rename it like this: owlcarousel-views--expert-talk.html.twig

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