website promotion banner
eturnkeys
Your Ad Here
Photoshop  Home Photoshop Web Layout Creating and Exporting Web Navigation Bar with Slices
rss

Creating and Exporting Web Navigation Bar with Slices

Author: PhotoshopAtoms More by this author


We start with a blank canvas. In this tutorial, we will be using a small canvas to demonstrate just the navigation bar, but in a real world example, you'll probably design the whole website in PhotoShop on a larger canvas.

Creating and Exporting Web Navigation Bar with Slices image 1

The first thing we will do is to outline our nav bar. Make a selection like so:

Creating and Exporting Web Navigation Bar with Slices image 2

Then goto Select > Modify > Smooth, and choose around 5px. This will give us a nice rounded selection:

Creating and Exporting Web Navigation Bar with Slices image 3

Next, create a new layer and fill with the color of your choice - or a gradient. A nice gradient to use would be something like this:

Creating and Exporting Web Navigation Bar with Slices image 4

Next, rename this layer navbg, and create a new layer. With the selection still around the navbar, right-click it with the selection tool and choose stroke, about 2px, doesn't matter what color - we will change it with layer styles. This should create a thin line border around the navbar, like so:

Creating and Exporting Web Navigation Bar with Slices image 5

Now open up Layer Styles and choose Gradient Overlay. Perhaps something like this:

Creating and Exporting Web Navigation Bar with Slices image 6

Rename the new layer navborder. It should now look something like this:

Creating and Exporting Web Navigation Bar with Slices image 7

Now we can add text for our buttons. Each button should be on its own layer:

Creating and Exporting Web Navigation Bar with Slices image 8

Now to get them lined up, we can Ctrl-click the navbg layer to make a selection, then choose the Move tool (V). Now select all text layers by Ctrl-clicking each one, and then on the Move toolbar options, select Align Vertical Centers and Distribute Horizontal Centers. We should have the following:

Creating and Exporting Web Navigation Bar with Slices image 9

You'll notice that the Blog is too high because of the letter g. We can fix this by Ctrl-clicking the Home layer, and then select the Blog layer. Then using the Move tool again, choose the option Align Top Edges:

Creating and Exporting Web Navigation Bar with Slices image 10

Another effect we can add to the bar is to Ctrl-click the navbg again and then select the navborder layer. Choose the brush tool change opacity of the brush to 50% and size to around 3px. Make vertical lines between your buttons. Because we are painting on the border layer, our brush strokes should take the layer style of this layer also, looking like this:

Creating and Exporting Web Navigation Bar with Slices image 11

We can also add Layer Styles to the text to make them look a bit fancier:

Creating and Exporting Web Navigation Bar with Slices image 12

Next, choose the Slice tool (Creating and Exporting Web Navigation Bar with Slices image 13) and make selections around our buttons, like so:

Creating and Exporting Web Navigation Bar with Slices image 14

We made the slices around our buttons (in blue), and PhotoShop fills in the gaps. Now we can goto File > Save for Web & Devices. If you then click the Save button, you will be able to change the Save as type to HTML and Images. This will save each slice as its own image and generate the HTML for you. If you just want the images split up and you're going to implement them into HTML yourself, you can choose Images Only. Furthermore, before you click the Save button, you can click on each slice in the preview and choose the filetype and compression settings for each slice.

Creating and Exporting Web Navigation Bar with Slices image 15




Rate this Material: Bad 1 2 3 4 5 Excellent
print this page tell a friend subscribe to newsletter subscribe to rss

Add comments to "Creating and Exporting Web Navigation Bar with Slices"