How to correctly define background-image in sectorManager? #3896
Replies: 4 comments
-
You have 2 properties that apply the value on the same CSS property. There is no way to achieve that with configurations, I'd suggest creating a new type where you're free to perform your logic. |
Beta Was this translation helpful? Give feedback.
-
Hello dear, thanks for your answer. What is the correctly way to build the sector? If i'm will try to build the background sector with type: "bg" with grapes-style-bg.min.js... i have some problems: |
Beta Was this translation helpful? Give feedback.
-
some like this maybe?
|
Beta Was this translation helpful? Give feedback.
-
I just needed to update my version of grapesjs. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
this is my sector defined:
i have a problem when i want add an image and a gradient, i'm searching the way to see the css like in layers:
background-image: linear-gradient(to right, rgba(1, 2, 3, 4) 5%, rgba(1, 2,3,4) 5%), url(/assets/shared/accounting-blur-business.jpg);
-> linear-gradient() and url() separated by "," <-
somethings i find this:

or this:


just the gradient, why?
Can you help me with this please?
Beta Was this translation helpful? Give feedback.
All reactions