I have added a global background image but it seems that the forum is transparent and needs to be solid white. Im using the Default Theme and dont see a UI setting to make this solid or transparent. Im using the Neutral color pallate and the Secondary color value is set to white. I dont see any other way to set the whole forum background to white versus transparent. Perhaps this too can be set in CSS - I searched and didnt find an existing topic on this issue. Thanks for the help - new to Discourse but really like it so far.
AI-generated summary
Forum background is transparent: andrewlevi is experiencing an issue with the forum background being transparent despite setting the Secondary color value to white in the Neutral color palette. Johani suggests adding CSS code to set the background color to the Secondary color value, which resolves the issue. However, andrewlevi notes that this causes the footer to become white when choosing a category. Johani identifies the problem as the page content not filling the entire viewport and provides additional CSS code to fix the issue. andrewlevi confirms that the solution works, resolving the problem.
Welcome to Meta @andrewlevi ![]()
Can you try this CSS in your theme
#main-outlet {
background-color: var(--secondary);
}
and see if it solves the issue for you?
The issue is not that the footer is white. The issue is that the page content is not large enough to fill the entire viewport.
Still, you can also fix this with CSS. Try adding these as well.
#main > div:first-child {
display: flex;
flex-direction: column;
min-height: 100vh;
}
#main-outlet {
flex: 1 0 auto;
max-width: calc(100% - 20px);
width: $large-width;
}
Like magic - Thanks for your help Joe!


