Use the CSS Editor for Custom CSS
Use the CSS Editor in Experience Builder to create custom CSS to style elements across
your Aura site. This option is suitable if you’re familiar with CSS and want to make only minor
modifications to some template components.
To make minor CSS modifications to a component, use Chrome DevTools to inspect the page and discover the item’s fully qualified name and CSS class.
You can link to a CSS style sheet as either a static or external resource in the head markup in . However, because global value providers aren’t supported in the head markup or in CSS overrides, you can’t use $resource to reference static resources. Instead, use a relative URL using the syntax /sfsites/c/resource/resource_name.
For
example, if you upload an image as a static resource called Headline, reference it in the
CSS Editor as
follows:
.forceCommunityHeadline
{
background-image: url('/sfsites/c/resource/headline')
}Head markup is also useful for adding favicon icons, SEO meta tags, and other items. However, be aware that using the default strict CSP security level can affect your code.