Community forum for knowledge and support

Updated 10 months ago

Optimizing Site Design with Dark Backgrounds

At a glance

The community member is looking for the best practice to build a site with a dark background. They are currently adding a class for each section to set the background color to black, but think there might be a better way to do this. In the comments, another community member suggests that if the entire site needs to be black, the community member could just set the body background to black, which the original poster agrees is a good solution.

Hey folks... what's the best practice for building a site with a dark background. Currently adding a class for each section (background-color-black) but thinking there's probably a better way to do this

L
M
2 comments

If every page of the site needs to be black then you could just set the body background to black

yeah i think that's what i'll do... thanks!

Add a reply
Sign up and join the conversation on Slack