How do I change the background color in Webflow?
Set a solid Webflow background color in Style panel, Backgrounds, on a section or the Body tag. Image and video elements cannot take it.
Select an element that is not an image or a video. Open Style panel, Backgrounds, and set the color by typing a hex, rgba, or color name, or by using the color picker. Most elements start transparent. A class keeps that color on one group of elements. The Body (All pages) tag sets the default for the site. A gradient or a photo is a different layer.
Set the color in Backgrounds
Select the section, div, or other element that should carry the color. Open the Style panel and go to Backgrounds. Set the color by typing a value, such as a hex code, an rgba value, or a color name, or by choosing it in the color picker.
Webflow does not offer this background on media elements such as an image or a video. You can still use an image or a video as a background on something else. If the photo itself should change, that is a different control. This page is the solid color behind content.
Most elements start with a transparent background. Until you set a color, you see whatever is behind them. Some elements ship with a color already on. Webflow's example is the slider, which has a default background you can override by setting a color on the main slider element.
Example: the pricing band should be a quiet gray, and the cards inside it should stay white. Select the band, give it a class such as Pricing band, and set that gray in Backgrounds. Select a card, give it a class such as Price card, and set white. The gray does not have to be painted on every card.
Keep the color on a class, not on every section
Name the class in the Selector before you color the second band. The color is stored on the class, so the next element that uses the class gets the same fill. If you style the tag instead, such as All Sections, every section of that tag picks up the color.
A parent can pass styles to what is inside it. The Body (All pages) tag is the top of that chain. Select the Body element and choose Body (All pages) in the Selector. You can also select any element and choose that tag from the inheritance menu, because elements inherit from it. Once the body background is set, elements you add default to that style. Use it for the page color, not for one campaign band.
An orange mark on a property means the value is inherited. Click it to see where it comes from. If one section should leave the body color, set a color on that section's class. The class overrides the inherited value for elements that use it.
Do not paint the media element
A background color on an image element will not show. The same is true for a video element. Put a section or a div behind the media, and set the color there. If the photo should fill the band, the background image guide is cover, contain, position, and repeat. This page stops at the solid color.
A color overlay is a separate layer. Webflow lets you add one on top of a background and set its opacity in the color picker. Use an overlay when a photo needs a tint so the heading stays readable. Use the background color when there is no photo and the band itself should be the color.
You can stack images, gradients, and overlays. Hover a layer and drag the dotted vertical line on its left to reorder them. The eye icon hides a layer. The trash icon deletes it. A solid color does not need that stack. Leave the extra layers off if the band should be one flat color.
Leave gradients and text color to their own controls
A fade between two colors is a gradient, not a second solid. In Backgrounds, a linear or radial gradient is added beside Image and gradient. The gradient guide is the angle, the stops, and the Safari note about a transparent stop. If you only need one hex value, do not add a gradient to fake it.
Text color is also separate. A white heading on a blue band is Typography, not Backgrounds. If the words disappear, the text and the background are too close. The text color guide is that control. Webflow also lets a background color sit on a text element, or on part of the text, which paints a chip behind the words. That chip is still a background. It does not recolor the glyphs.
Example: a label needs a pale yellow chip behind three words, and the rest of the sentence stays on the white page. Select those words, or the text element that holds only the label, and set the yellow in Backgrounds. Leave the paragraph's class alone if the whole paragraph should stay white.
Check contrast, then publish
Read the heading on top of the new color at desktop width and at phone width. A color that looks fine on a large band can feel heavier when the band is short. If the words are hard to read, change the text color or pick a different background. Do not shrink the type to force the contrast.
Preview before you publish. Then publish and open the live page. A stale tab can still show the old color. Reload once.
If every page turned the campaign color, the Body tag is set. Move that color onto the class for the one band, and set the body back to the site color. If one card stayed gray, it is using the band's class. Give the card its own class and set white there.
Changing a background on a page you already have is ordinary layout work. The membership is one plan for every existing Webflow site: $999 per month, including 10 hours of Webflow work. Additional work is $75 per hour and starts only after you approve a written estimate.
Questions & answers
I set a color on the photo and nothing changed. Why?
Image and video elements cannot take a background color. Put the color on a section or a div behind the photo, or use the photo itself as a background on that section.
The whole site turned blue. What did I style?
The color is on the Body (All pages) tag, so it cascades. Select the Body element, choose that tag in the Selector, and set the color you actually want as the site default.
Can the letters themselves sit on a colored chip?
Yes. Webflow lets you add a background color to a text element, or to specific text inside it. That paints behind the words. It is not the text color.
How is this different from a gradient?
A solid color is one value. A gradient fades between stops. Add the gradient from Image and gradient in the same Backgrounds section when the fade is what you want.
Sources & further reading
Need a hand with your Webflow site?
View membership
View membership