Newer Version Available
Customize the Look and Feel of a Lightning Template
You can control the appearance of a Lightning template in several ways, each of varying
complexity and granularity.
Within Community Builder,
you can modify styles that are specific to the template and therefore can’t be shared
between communities. The options in Community Builder are the
simplest to use and don’t require coding.
- The Theme panel updates the template with simple, point-and-click properties. This approach is ideal for admins to use.
- The CSS Editor lets you create custom CSS that overrides the basic styles of template elements. This option is suitable if you’re familiar with CSS and want to make only minor modifications to some out-of-the-box components or template elements.
However, to completely customize the appearance of a template, you need to build your own
components.
- Custom Aura components encapsulate a CSS resource as part of the component bundle, making the components reusable across communities.
- Content layout components define the content regions of your page and contain components.
- Theme layout components let you customize the structural layout of the template, such as the header and footer, and override its default styles.