Tamás Hajas

Posts Tagged "Drupal"

JavaScript is Coming to Eat You

I’ve just watched the video of Tim Broeker’s excellent talk from BADCamp 2019. And I think everyone who creates classic Drupal sites should see it!

Drupal 8 Twig: add custom CSS classes to menus (based on menu name)

Twig templates of Drupal 8 make our life much easier when we want to customize the HTML output. But when the goal is to change a Drupal 8 menu we have to use the menu.html.twig template which is not the most friendly one and it’s customization can be tricky because of several reasons. So I wanna show you how I did it.