1

Is there a way to add drop shadow to an element such that the shadow only appears over another element and not anything else?

It would also be okay if shadow appears on other elements but not on empty canvas. I've searched everywhere for it but didn't find anything relevant.

2 Answers 2

1

Option 1

You can try changing the blending mode of the drop shadow. This will depend on the effect you want, what the underlying object is etc. Different blending modes will have different effects so experiment and see what works. Keep in mind that blending modes work differently in CMYK vs RGB so that may have an affect.

You can see in this example that setting the drop shadow to "Color Burn" only shows the drop shadow on the object below:

Drop Shadow Blending Mode

Option 2

Use a clipping mask. Copy all the objects you want the drop shadow to cover then use pathfinder to create one shape from the objects and use that as a clipping mask.

This isn't ideal though as you need to edit the clipping mask as well as the contained objects if you make changes.

Masked Group

1
  • For some reason blending mode does completely the opposite for me. The shadow disappeared over the object and remained everywhere else. Clipping mask does get the job done but yes, it's a lot of work when you have to do it with many objects. Thanks for your help
    – Whip
    Jul 23, 2016 at 11:05
0

Easiest way is to create the drop shadow, then select object with the shadow and the object(s) you wish to cover with the shadow, copy them, past in front, remove the shadow in appearance panel, add the objects in pathfinder,then you can make a clipping mask and the shadow will only appear within shape of the mask, thus keeping it off the canvas.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.