Shiny Button in Adobe Photoshop CS5
Learn how you can design a very attractive shiny button in Adobe Photoshop, advance skills are not required to begin with. At the end of this tutorials you will able to learn who you can design shiny web elements for you next project.
Lets take a look what we gonna make today.
Our first step is to create New document. Go to File > New (Ctrl+N) and create a new document of (500px x 500px) size as you can see in the following image.
Its time to make 4 Guides with the help of View > New Guide, positions of these guides are given bellow. Please take a look at the following image for better understanding and we are creating these guides for accurate results.
- Vertical; Position: 170px
- Vertical; Position: 340px
- Horizontal; Position: 230px
- Horizontal; Position: 240px
Now Select Rounded Rectangle Tool (U) and also made some changes in Option Panel. Select the Shape Layer > Rounded Rectangle Tool > Radius: 5px > Create a new Shape Layer button > Style: None > Color: #2d2d2d.
Now create a (160px x 40px) rounded rectangle. As I did.
Now we use blending options to make this rounded rectangle a glossy button. Down in the layer box you can see a button [fx] click on it and select Gradient Overlay option;
Gradient Overlay Option Setting:
- Gradient Colors : #0597fd and #011cbc
- Scale: 150%
Now Select Inner Shadow Option and the Setting is below:
- Opacity: 25%
- Distance: 0px
- Size: 10px
and simply OK.
Hold Ctrl key on the keyboard and click on rounded rectangle and you will see it will be selected on the artboard.
Now go to Select > Modify > Contract and Contract Selection option box appear on the screen set the value 1px and OK.
Create a new layer (Shift+Ctrl+Alt+N).
Select Fill Tool (G) to fill the layer 1 with white color #ffffff and set the Fill 0% in the layer Box. After setting Fill 0% lets put some blending options.
- Size: 1px
- Position: Inside
- Color: #ffffff
Keep selecting Layer 1 and now insert this layer in Group (Ctrl+G), see (Tag. 19). After grouping Add Layer mask, and select Gradient Tool (G) and black and white gradient (Tag. 21). Now put this gradient from down to upward on the Group Layer Mask and set Opacity: 50%, (Tag. 22).
Create 1 more layer (Layer 2) inside the group 1. Click on Rectangle Marquee Tool and select half of the button area as you can see in (Tag. 24). Now select again Gradient Tool and select white and transparent gradient (see tag. 25) and put this gradient on layer 2 (see tag. 26). It creates shining effect.
Now hold Ctrl and click on Layer 2 (see tag. 27) and keep selecting, press Ctrl+Alt and click over the Layer 1 (as you can see in the tag 28). You will notice the blue box selection is subtracted from white selection area, now just select layer 1 again from Layer box and press Delete.
Your last and final step is to make this group Smart Object. Go to Layer > Smart Objects > Convert to smart object. Now you can put any text on this button and use it anywhere you want.
Now you can see the final results same as mine.
Nathan Jones says
very clean steps and simple tutorial. thanks
Brett Widmann says
This is a very nice tutorial. Thank you!
Carl Jones says
Very helpful tutorial! Just a quick note though – Your instructions say the second horizontal ruler should be at 240px, but then the image says 270px xP I found that the 270 was intended so i figured i'd let the post know so no-one get's confused =P
Excellent post, just what I was looking for.
I do have a question though. After creating the button, when I try to copy the button onto another image, I get both the button and the remnants of the gradient from Step 11. Is there a way for me to create the button without the extra rectangle? Or am I doing Step 11 wrong?
Muzammil Hussain says
can you please describe me what are you trying to do.. so then i can explain more to you.
Muzammil, thanks for getting back to me. When I tried to copy the entire button into another PS file, more than just the button was being copied. In Step 11, I used the rectangle marquee tool to create the extra layer that would give the button it’s “shine” (this was Layer 2), but after following the next step and deleting Layer 1, the rectangle from Layer 2 was still larger than Layer 1. So if I just copied the shape, I would be missing the shine at the top of the button, but if I copied both the shape and Layer 2 (i.e. the Smart Object created in the last step) I’d get the button along with a background.
One way I ended up working around this was to make the rectangle in step 11 half of the button (instead of larger), but I’m still wondering whether Layer 2/the Smart Object is supposed to bleed outside of the button itself. Perhaps cropping is the answer? Thanks.
Robert Lummis says
This tutorial is very well done! Thank you. But I have one question with it. In step 11 you say “put this gradient on layer 2” but I don’t know what that means. Layer 2 has nothing in it at that point (no fill, no art), and it isn’t a mask, so what does the gradient apply to? Should I draw a rounded rect in layer 2 first and then fill it with white-to-transparent gradient? I’ve tried things I could think of (applying a gradient overlay) but my layer 2 never has any effect on the image. I can turn its visibility on and off and see no difference, so I’m sure I’m not understanding this step.