Apply stroke only to top layer of clipping mask

I’m using Adobe Illustrator CC. I have a clipping mask with text over colored rectangles. I want to apply stroke to the text in the clipping mask without applying stroke to the rectangles. This is what happens:

text over rectangles

I apply the clipping mask:

text clipping mask

I apply the stroke:

clipping mask with stroke

and now you see the rectangles also have stroke applied. How to I make it so only the text has a stroke? Thank you.


You can use the Direct Selection Tool (white arrow) to select the paths of the clipping mask and add a stroke to them. Do not use the Selection Tool (black arrow).

enter image description here

I’d just use a gradient with middle stops as an extra fill on text objects, allowing the text to remain “live” and editable.

enter image description here

This is easiest with single lines of text, but the gradient can be configured for multi-line text as well. Save this as a Graphic Style and it can be applied to any text with two clicks.

Source : Link , Question Author : wideyes , Answer Author : Scott

Leave a Comment