I'm getting into Drupal with version 8, and trying to wrap my head around the template system.

I've created a theme with classy as a base theme. I would like to edit the markup for the navigation menu, adding two div's before the <ul>. I've copied the menu.html.twig file over from /core/themes/classy/templates/navigation into my-theme/templates/navigation.

I've added to div's right before the ul but they don't appear on the front-end. Is perhaps my template not being loaded? Or what would be the way to do this?

1 Answer 1


Simply needed to clear the cache... case closed!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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