Grasp the chance to enhance your site with the best fitting layout, including elements like buttons, headers and logos.  Home Photoshop Web Layout Useful Button (and a bit about gradients)

Useful Button (and a bit about gradients)


Before we get onto the introductions, this might seem like a whopper of a tutorial for such a small thing, but it teaches a lot about gradients, which are essential for any Photoshop user to know. Once you learn how to use these gradients well, you will be able to do so much more in Photoshop than you could before. So what are you waiting for? Get into it! Here are the instructions for the little buttons you might have seen around my site. I use it for the contact form, the poll and a few other things you might not have seen. It can be used as a submit button, a reset button, a navigation button and various other things too. Get reading and you should have your own in no time ;) If you need to use a bit finer detail during this tutorial, zoom in or out by holding ctrl and hitting + or - on the numeric keypad on your computer (thats the pad on your right with numbers and stuff ;)

1) Open up Photoshop and go to File --> New and create a new image about 100px wide and 50px high. This won't be the size of the button, but it gives us a nice open working area.

2) You should have one layer at the moment. Press D on your keyboard to reset the colours then press ctrl+backspace to fill the layer in with white. Once you have done that, go to the layers palette and click the create new layer button, which is down the bottom of the palette second from the right.(If you can't find the layers palette, go to Window --> Layers and it should appear)

3) At this stage, you should have a white rectangle with 2 layers on the page. So let's make something happen eh? With your new layer selected, get the rectangular marquee tool (M) and, in the toolbar at the top of the page, change the style to Fixed Size and give it a width of 50px and a height of 17px. You can change these sizes as you please. When you have done that, click on your image and a selection should come up. Then press D on your keyboard and then ctrl+backspace, then ctrl+d to deselect.

4) You should still see white, but now we will bring some colour into it. Right-click on the second layer and choose Blending Options. Then create these styles:

      -Gradient Overlay with these settings:

If you are having trouble getting the gradient right, the settings:

but you can use your own if you want.

      -Stroke with these settings:

When you have done that, you should have something like mine below:

5) Now, we have the basic button here and if you were lazy you could finish up there and add some text, but i'm gonna show you how to make it look a bit more plastiky :P So, with layer 2 selected, click the new layer button again to create a new layer :) Now, with layer 3 selected, hold down ctrl and click on layer 2 to bring up its selection. Then go to Select--> Modify --> Contract and contract by 2 pixels. You should have an area of the coloured gradient selected.

6) With the area still selected, get your gradient tool (G) and press d then x on your keyboard to invert the default colours. Select Linear Gradient in the toolbar at the top of the page (found with all the little pictures of different gradients, it is the first one) and make the gradient Foreground to Transparent. You should have white fading to clear in the little box in the top left of the screen, shown below:



Ok, so with the gradient tool, your gradient set and the area selected, click at the top of the selection and drag down about halfway through the image, shown below (Zoom 500%).



Once you have made your gradient, change the opacity of layer 3 (the one you just put the gradient on) to around 35%. At this stage you should have something like mine below:

7) Once again, you could stop there and add the text, but we will take it one step further. This is basically just to create a slight glowing effect to the bottom of the button. Just repeat steps 5 and 6, but with a few variations. Create a new layer over layer 3 and select layer 2 the same as before, except this time, instead of contracting by 2 pixels, contract by 1 :) Do the same thign with the gradient tool as before, except select Radial Gradient instead of linear gradient. I said we were going to apply a glowing effect to the bottom of the button, so we are going to have to apply the gradient to the bottom of the button, as shown below:



All that is left to do is change the layer style to Overlay and change the Opacity to around 60%. If you did it all right, you should have what I have below:

Add some text and you are done! Tadaaa!
Useful Button (and a bit about gradients) Tutorial: Final Result
As I said above, it does seem like a lot of work for such a small thing, but if you read the whole thing thoroughly, you will have learnt a valuable lesson or two in gradients. If you enjoyed that tutorial, why don't you try some of the others? :) Enjoy!

Author's URL: Adam Priestley
Thank you for voting.
Rate this Materials:
Bad 
1 2 3 4 5 Excellent
print this page subscribe to newsletter subscribe to rss

Advance your current skills or acquire new skills in Photoshop by creating projects using our step-by-step tutorials. More Tutorials: Most Popular Materials | Fresh Materials | TutorialKit New Photoshop Tutorials

Add comments to "Useful Button (and a bit about gradients)"

Only registered users can write comment

Reader's comments