You can't apply a gradient to a stroke.
First you must select your stroke, outline your stroke so it becomes a path. Then you can apply a gradient to it
To outline a stroke so you can create a gradient, you must select it, then go to Object > Expand...
Make sure "Stroke" is selected, and click OK. If the original path had a fill, other than none, it will still be there, but as a separate shape grouped to the outlined stroke. You may need to ungroup it if you want to treat it differently.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.