Apply stroke only to top layer of clipping mask


Question

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.

1
4
5/22/2015 3:17:00 PM

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.

6
5/22/2015 3:38:00 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
^