I am using the Partner Central template in lightning community and want to customize the navigation bar such that it displays a different set of items based on the user. The criteria however, is a quite complicated and cannot be done through the personalize menu. So, I want to replace the default navigation menu with a custom component. Is there any way to do this?

  • Did you ever find a solution?
    – zaitsman
    May 12, 2022 at 4:08
  • 1
    Well, one solution is to put a custom component in the header and put a VF Page in the footer that uses the window.parent.document.queryselector in JS to delete the original navigation bar. It's a bit to hacky to use outside of a trailhead playground though.
    – Flight64
    May 13, 2022 at 5:59

1 Answer 1


I believe you can accomplish that using a custom theme layout + forceCommunity:navigationMenuBase

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .