How can i change the secondary menu id, by default it has the same id like primary menu. My primary menu id is menu-main-navigation and when i print in twig the secondary menu like {{ page.secondary_menu }} it prints with same id.

1 Answer 1


No need to change the id, i am printing the region not the block, just change the block from secondary menu region and will print the new block.

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.