Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created a layer where I have drawn a straight line of thickness 2px, I need to apply a gradient overlay of a certain pattern but when i do it, the layer mask is not taking it and I see no changes in the line.

I am relatively new to PS, I was wondering if anyone knew why this is happening?

share|improve this question
Can you provide a bit more info? This should be an easy one to solve, with the right details. A screen grab of your canvas and layers panel would help. – Marc Edwards Oct 10 '12 at 12:29
Definitely clarify. I'm as baffled as Marc, although I've upvoted Far's answer because it's a nice explanation. – Alan Gilbertson Oct 14 '12 at 7:45

maybe this is what you are looking for. Gathering from your description you need a clipping mask try this tutorial but there are several ways to do things in PS.

I also put this together for you.

Create separate layers for your line, pattern, and gradient. Adding pattern and gradient to a line - image 1 / 4 enter image description here

Right click on the "Gradient" layer and select blending options. Since I want my gradient to fade from black to the pattern I've selected "multiply" for the Blend Mode. (You can also change the blend mode located at the top of the layers panel.) You may also select overlay, it all depends on the desired effect you need from the gradient. enter image description here

Next highlight the pattern and gradient. (ctrl click pc or cmd click mac) Then right click on one of the layers and select "Create Clipping Mask" Just make sure that these two layers are on top of the line layer. enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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