Log in
Log into community
Join the Webstudio community
View all posts
Related posts
Was this helpful?
π
π
π
Powered by
Hall
Active
Updated 4 weeks ago
0
Follow
How can I add an overlay on image background ?
How can I add an overlay on image background ?
Active
0
Follow
R
Romaric BRN
2 months ago
Β·
Hey,
I would to add an overlay [ rgba(0, 0, 0, 0.3) ] on image background in order to improve contrast message like in Webflow.
I tried to add a gradient but it doesn't work
Thank you for your help
Romaric
Attachment
J
R
6 comments
Share
Open in Discord
J
John Siciliano
2 months ago
Hey we are creating a UI for this but what technically happens under the hood is a gradient is added. Background colors can't be added over images in CSS so what Webflow and what we will do is convert the single color to a gradient
J
John Siciliano
2 months ago
like
linear-gradient(#333, #333)
J
John Siciliano
2 months ago
so just copy what you have in the color field and replace my #333's with that. Then add that as a gradient
R
Romaric BRN
2 months ago
Perfect! It works π
Attachment
J
John Siciliano
2 months ago
Nice! The UI for it will be in here btw
https://github.com/orgs/webstudio-is/projects/11?pane=issue&itemId=65253933&issue=webstudio-is%7Cwebstudio%7C3448
R
Romaric BRN
2 months ago
upvoted
Add a reply
Sign up and join the conversation on Discord
Join on Discord