Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

How to Override community background image/color in the Napili template?

Asked by Kondo Nakamura Aug 5, 2021 2.3K views 3 answers
Share

About this question

I've been testing the customization capabilities of communities with napili template. One thing i found, I can update the logo, but not the community background. It seems I need to override the CSS, found the below snippet that helps to change the background,

.default-bg-overlay { background: white none repeat scroll 0 0 !important; }

The above one change the header color, but not the body, I also cannot set the background image. What would be the right way set community background?


Your answer

3 Answers

Lite Geometry Latest answer

Answered on Oct 1, 2025

Thanks
Was this helpful?

Elvinew

Answered on Mar 13, 2025

Regarding the background image, you need to make sure the image URL is correct. You can upload the image to Salesforce Files and get the URL from Geometry Vibes.

Was this helpful?

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.