first of all, I'm new at Drupal, I tried to understand the apis but until now I find a lot of difficulties.
I want to modify on free theme that I downloaded it from the internet, for now I want to change the navbar menu structure.
but I see that drupal_render($page['navigation']) is printing the html, no way to change the html this way unless if I will make it hard code (static not dynamic!)
sorry for this question, but who tells the drupal_render($page['navigation']) to be printed in this way?
I am trying to implement a carousel , inside my views-view-fields--block_1.html.twig , I want to add active class inside the div for the first Iteration . I have added the code in twig file but every time it is adding active class for all the iteration. In my view title,body,image and result counter fields are there . From result counter i am getting the value and comparing inside the above twig file. Can anyone give suggestion, how to achieve this . Here is the code snippet.
So I've got my new bean block-type, Hero Video. I created bean--hero-video.tpl.php and all is well, I've got the output I want for the actual content, but I wanted to create a specifically different block template for that bean type so I could kill some of the other code around the output.
I've got a standard block--bean.tpl.php that I've been using, but would like to further customize for this specific bean type. Something like this is what I'm talking about:
I'm creating a website for an animal rescue using Drupal 8. I'm a developer but I don't have experience with Drupal so I've been following some online courses and now I understand it way better, but I still have lots of problems with the theming part.