Can't add gradient to a stroke

Every time i select a shape and try to add a gradient it automatically adds it to the fill (which i don't want) and doesnt let me add it to the stroke.

Every time i select a shape and try to add a gradient it automatically adds it to the fill (which i don't want) and doesnt let me add it to the stroke.
Do you see the blue square behind the rectangle? You need to first get it to the front of it. THen try and apply the stroke.
Or did you already try that? In that case please show us a screenshot of the selected object with Appearance panel. WIndow > Appearance, not that thing in the Properties panel.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.