We have created a Community and want to Customize the header.
In Setup -> Customize -> Communities -> All Communities -> Administration Settings -> Branding I was able to replace the Header with an HTML file that looks great. It contains a search bar that redirects to a VF page.
The only problem is, the client wants the Name dropdown and options that appears in the Community Designer page ( Setup -> Customize -> Communities -> All Communities -> Community Designer ) in the top right:
I haven't found a way to customize the Top Header to both
- Add an input, select, form etc.
- Get the styling and behaviour
of the name dropdown.
Is there any way to achieve this?
Best Answer
This basically comes down to creating a custom theme layout with custom styling. You will need to create a lightning component that :
as follows:
you will notice that each class represents a section/component of the standard layout, you can then add custom styling (and reorder the components) to fit your needs.
once you have created the above component, you will need to assign it to a layout under community settings:
and finally to the page in question: