function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Imran Rahman 3Imran Rahman 3 

Manually code menu in customer portal

I would like to manually alter/code the menu bar in my customer portal because I would like to add a navbar with dropdowns (which I believe salesforce does not have out of the box).

How can I do this?
Anil SavaliyaAnil Savaliya
Hey Imran,

Create custom component and assign to each VF page going use in custom portal.
Imran Rahman 3Imran Rahman 3
@Anil
Custom components allow you to create panels either in the narrow or wide panel but not the full width. Not only this but there no way to remove the existing menu component.
Anil SavaliyaAnil Savaliya
Hey Imran,

I am not clear what is issue with narrow or wide panel.

Are you using site setting for customer portal login ? If yes ,than in SiteRegisterController you can return custom VF page ,Insted of standard home page,In VF page you should make sidebar and header false,and give custom commponent you created in page to make header,In that case you can't see custom menu bar.