To add a custom setting like backgroundAlpha:1 to a background in Webflow, you'll need to apply it using custom code or CSS styling, as Webflow does not directly support a backgroundAlpha
property in its native interface.
backgroundAlpha
MeansIf you’re coming from a JS library or API that uses backgroundAlpha
, and you still need to inject custom code:
Go to Page Settings or Embed element.
Inside a <style>
tag in the custom code area, write:.hero-section { background-color: rgba(0, 0, 0, 1); }
(Replace the color with your preference; the last value is alpha, where 1 = fully opaque.)
Ensure your Hero Section has the class hero-section (or use the class you've assigned).
Webflow doesn't recognize backgroundAlpha
as a CSS property. Instead, set your background color using RGBA with alpha = 1 in the Style Panel or apply custom CSS using an Embed or Page Settings.