I have a 'card' view mode for an node bundle called 'event', which I'm displaying in a view block. The view is configured to display each event as content in the aforementioned card view mode. However, my custom theme template node--event--card-display.html.twig does not get applied.
I looked at the suggestions using mytheme_theme_suggestions_node_alter, which was the following:
I haven't used Drupal for a few years, now when I am back to my old site there is a problem I can't remember how to solve it.
I have created a custom theme and a template 'page--pagename.tpl.php'. It does not seem to pick the page with the name 'root/pagename'. It, however, picks and designs non-existing page if I go to root/pagename. I, of course, cleaned caches. I use local version on xampp.