We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.
Hello, I use illustrator 24.1.2 and I apply a gradient in a form like this:
& when I save it and open it later, the gradient disappear, and I have only black color:
I don't know why I lost it, I don't know what I have to do (in options maybe?) to keep it in my .ai or .svg file.
Can anyone help me on this?
what does Appearance panel show?
Can you repeat a gradient now? If yes, add the gradient to Swatces panel (just click New Swatch button when the object is selected). At least, you'll keep the gradient safe in Swatches.
But to say something more, it's needed to see Appearance panel screenshot.
Hello, thanks for your answer; here is the screenshot of my appearance panel:
I can add it to the swatces panel but anytime I save my file et re-open it, it has lost the gradient. It is a probleme because I can't use my form in after effect
well, it's strange, indeed.
But to use it as a form (shape) in AfterEffects, it's better to save AI with a flat color and add a gradient in AE, when you'll create a shape from a vector layer. This command converts all original gradients to a flat color (gray).
So the better way is
1. to save AI with any flat color
2. in AE "Create a shape from a vector layer" to animate it like you wish
3. Add a gradient to the shape.
BTW, in this case you will be able to animate a gradient as well.
ok thanks for your answer, I will do that in afetr effect indeed.
If you have any clue about my problem on illustrator, don't hesitate 🙂
could you share a working file? I can't repeat the problem on my system.
The gradient was applied to a compound path element. Once the compound path released. The gradient will appear as usual.
1. Release the compound path
2. Add a gradient to all the objects of your icon
3. Now you can merge the compound elements
Same problem here. Create compund path-apply gradient-save- reopen- gradient is gone, replaced with black.
I've created a swatch before saving and that doesn't work.
I've released the compund path but then Illustrator wants to apply the gradient to every item separately.
I can't reproduce that issue.
Please tell us which version, system and hardware you use and exactly which kind of file you save, exactly which kind of gradient and please show a screenshot with gradient panel and gradient.