Quick Tip: How to Create a Smooth Navigation Menu in Adobe Illustrator

Quick Tip: How to Create a Smooth Navigation Menu in Adobe Illustrator

Tutorial Details
  • Program: Adobe Illustrator CS4
  • Difficulty: Beginner
  • Estimated Completion Time: 30 mins

Final Product What You'll Be Creating

In the following tutorial you will learn to create a nice navigation menu. This is particularly useful for people who want to make perfectly aligned rollover states for websites and applications.


Step 1

Create a 630 by 190px document. First, turn on the Grid (View > Grid) and the Snap to Grid (View > Snap to Grid). Next, you’ll need a grid every 10px. Go to Edit > Preferences > Guides & Grid, enter 10 in the Gridline every box and 1 in the Subdivisions box. You can also open the Info panel (Window > Info) for a live preview with the size and position of your shapes. Do not forget to replace the unit of measurement to pixels from Edit > Preferences > Unit > General. All these options will significantly increase your work speed.


Step 2

Start with the Rectangle Tool (M). Create a 610 by 50px shape. For the moment fill it with any color and remove the stroke. Select this fresh shape and go to Effect > Stylize > Rounded Corners. Enter a 4,5px Radius, click OK then go to Object > Expand Appearance. Fill the resulting shape with the linear gradient shown below.

If you take a closer look at the gradient image you’ll notice some white text. It stands for sliders location. First, select the middle slider and set its location to 25% then select the left diamond icon and set its location to 25% too. Finally, go to Effect > Stylize > Drop Shadow. Enter the data shown in the final image then click OK.


Step 3

For the following steps you’ll need a grid every 1px. Go to Edit > Preferences > Guides & Grid and enter 1 in the Gridline every box. Pick the Pen Tool (P) and draw a 56px, vertical path. Add a black stroke for this path so you can easily distinguish it. Finally, place it 101px to the right of the left side of the rounded rectangle.


Step 4

Next, you need to create two thin and tall rectangles. Create the first one (1 by 50px) and place it to left of the vertical path. Make a copy of this shape and move it 1px to the right. Return to the left shape, select it and fill it with the first linear gradient. Again, take a closer look at the gradient images and you’ll notice some yellow text. It stands for opacity. Select the right shape and fill it with the second linear gradient. Reselect both shapes created in this step and group them (Control + G). For the moment, make this group invisible.


Step 5

Return to the vertical path. Select it and go to Effect > Distort&Transform > Transform. Enter 4 in the Copies box and 102 in the Move > Horizontal box. Click OK then go to Object > Expand Appearance. You will get a group of five vertical paths.

Duplicate the rounded rectangle. Select this copy along with the group of vertical paths and click on the Divide button from the Pathfinder panel. This will divide your rectangle in five different shapes. Select each shape and remove the drop shadow effect from the Appearance panel.


Step 6

Now, let’s focus on one of the shapes made in the previous step. I chose the leftmost one. It should be already filled with the linear gradient mentioned in the second step. Select this fill and replace the color from the existing gradient with the colors shown in the first gradient. Next, go to the Appearance panel, open its fly-out menu and click on Add New Fill. This will add a second fill for your selected shape.

Select this new fill (from the Appearance panel), use the radial gradient shown below the second image and change its blending mode to Overlay. Add a third fill and make it black. Lower its opacity to 5%, change its blending mode to Multiply then go to Effect > Artistic > Film Grain. Enter the data shown below then click OK.


Step 7

Select the shape edited in the previous step and go to Effect > Path > Offset Path. Enter a -2px Offset and click OK. Select the resulting shape, remove all fills, add a 0,5px, white, aligned to inside stroke and change its blending mode to Overlay.


Step 8

Add the same effect for the rest of the shapes and don’t forget the stroke. You should create a separate layer for each blue shape. That way it will be easier for you to manage the look of the menu.


Step 9

Turn on the visibility for the group made in the fourth step. Move it in the top of the Layers panel. Lower its opacity to 80% then go to Effect > Distort&Transform > Transform. Enter the data shown below then click OK.


Step 10

Finally, the text. First you need the Quigley Wiggly font. Now pick the Type Tool (T) and add your text as shown. Expand the text then select the resulting shapes and click on the Unite button from the Pathfinder panel. If you get more than a shape after the Unite option go to Object > Compound Path > Make.


Step 11

Next, you need to align this text. Start with “home”. Pick the Selection Tool (V). Select the text shape along with the blue shape, click on the border of the second one (it should get emphasized) then click on the Horizontal Align Center and Vertical Align Center buttons. Repeat the same technique for the rest of your text.


Step 12

Now, let’s add some effect for the text. First, the blue version. Select the text shape and fill it with the linear gradient shown below. Select the fill (from the Appearance panel) and go to Effect > Stylize > Inner Glow. Enter the data shown below then click OK. Next, add a second fill and move it below the existing one. Select it, fill it with R=52 G=160 B=230 then go to Effect > Distort&Transform > Transform. Enter the data shown below and click OK. Now, your text should look like in the image below.


Step 13

Now the grey version. You don’t need to remove or add any effect. All you need to do is edit the existing fills. Select the top fill and replace the exiting gradient with the one shown below then select the bottom fill and replace the fill color with the one shown below. In the end your text should look like in the image below.


Step 14

Finally, make a blue and grey version for each text shape and you’re done.


Conclusion

There you have it, a simple way to make a navigation menu with rollover states. Another tip is to save your styles so you can apply them to other elements you may need, such as icons and forms. I hope you’ve enjoyed this tut.

Andrei Marius is VforVectors on Graphicriver
Tags: Tips
  • http://bdt466.deviantart.com BDT466

    Nice tutorial, simple but useful

  • pamece

    Hardly a quick tip – but still very nice. Thanks.

  • Vinay Bhat

    With Graphic Styles this would have been way easier for the words, but nevertheless great Tip!

  • Anja

    Very useful tutorial!
    I’m a beginner and i can’t seem to get step 7 with the Offset path quite right. The blue fill is being offset -2px but not the path. I don’t know what I’m doing wrong. I guess the blue shape is supposed to stay the same and the path is to move -2px? (sorry if my english isn’t that good)

  • Will

    I am stuck at the same place Anja… It really does not make sense or there are a bunch of steps that have been skipped. It’s really ashame cause it would have been nice to actually learn how to make such a pleasing navigation system. Most of all it sucks to have that far to then have to wonder what is next… Is there any body for Tutsplus who is actually editing these tutorial or checking them to see if there are all the steps necessary to creating the projects.. this is like the 4th time I have run into this problem

    • DanielFlaco

      @Anja & @Will I had the same problem, On Step 7 Just add a stroke in the appearance menu to the same blue box and apply the effects and the setting provided, and you’ll get the same effect.

    • DP

      Same problem with Step 7. Bypassing that ste, everything looks great.

  • Daniel

    I find out what important thing autor skipped in step 7: before you make offset path and other stuff (effects) connected with it, you have to duplicate the shape (blue one, from step 6) – ctrl+c and ctrl+f for placing it in the same place like the original shape – and make all the ‘offset path’-operatoins on the duplicate shape. It works for me and should work for you too. By the way, sorry for poor my english but i thought my remarks may be useful anyway.

  • http://vector.tutsplus.com/tutorials/web-design/quick-tip-how-to-create-a-smooth-navigation-menu-in-adobe-illustrator/ Shafa Aijaz

    gr8… i m a web designer nd its useful 4 it….

  • Kn0rp3l

    Some informations for people with problems in step 7:

    You have to copy the blue shape and paste it at the same position. Now you have to use the effect. If your stroke won’t be round anymore, you have to open the transform window and turn off the “Snap to grip” function. This function has some troubles in the newer versions.

  • EverSonny

    Thanks for another great tutorial! Love the bagground you have made in the end, Could you tell me how you created that?

  • Iliana

    I really enjoyed this Tutorial! Thanks!

    Though I also experience trouble with Step 6, where you create a new shape offset from the selected navigation shape. This new shape is for an outline effect over the selected navigation button. Instead of applying the effect like: Effect > Path > Offset Path. I applied the effect by: Object > Path > Offset Path. I am not exactly sure why this way it worked and not other way for me.

    • Iliana

      Sorry! I meant Step 7, not Step 6

  • L

    Hi, this is great, I learned so much, here is my work (first in AI) I hope you’ll like it, I didn’t have that font so I changed it, looks bit different :)
    Anyway about step 7, I used Object-Path-Offset Path…

    Please check it out and let me know what you think…https://www.dropbox.com/s/2kwgchojjep54wo/P.png

    Thank you for this tutorial :)

    • http://chewedkandi.net Sharon Milne

      Awesome work! Would you like me to include this in our Created by You Tuts+ Workshop? :)

      • L

        Yeah ofc if you like it :) I don’t mind :) it’s first so it means a lot to me :)