close ad
 
Important WebAssist Announcement
open ad
View Menu

Web development tutorial

Getting started with CSS Menu Writer

Tutorial created by Ray Borduin, WebAssist

Categories: Design Extender, Dreamweaver

rating

With CSS Menu Writer, you can easily build a horizontal or vertical CSS navigational menu. CSS Menu Writer offers a variety of design presets, as well as page presets, that you can customize. This tutorial will guide you step-by-step through the process of creating the perfect navigation to match your website.

arrow downWhat do you need to start?

  1. Dreamweaver CS3 or higher.
  2. Design Extender (alternatively, CSS Menu Writer) installed and activated in Dreamweaver.
  3. A site defined in Dreamweaver. If you need assistance, view these tutorials: Define a dynamic site in CS4 or Define a dynamic site in CS5+.
  4. A PHP web page and connection in Dreamweaver to your database. If you need assistance, view this tutorial: Create a PHP database connection.
  5. Or instead of a PHP page, an HTML web page.
To easily apply your navigation to all the pages in your site, it is advised that you insert your menu within a Dreamweaver template that is applied to all the pages in your site. This way, menu updates that you save will be quickly applied to all pages.

arrow downInsert a menu

CSS Menu Writer wizard allows you to quickly insert a horizontal or vertical CSS menu to your site.( Later in this tutorial, you will learn how to re-enter the wizard to modify your menu.)

  1. In Dreamweaver, open a page you wish to contain your menu. Save it as a PHP or an HTML web page.

  2. Place your cursor in the region of your page (or template) where you wish to have the menu inserted, typically the topnavigation div in CSS Sculptor designs.

  3. Choose WebAssist > CSS Menu Writer.


  4. From the Contents menu, choose from a number of preset navigation items that best match the type of site you are working with. Or, choose <New from blank> to manually specify each menu item.
    The Contents options are provided to help speed up the menu development process. If you anticipate having multiple items in your navigation, choosing the most applicable option and modifying the contents can save a lot of time.
  5. From the Type menu, choose Horizontal or Vertical navigation.

  6. From the Category menu, choose the design that best suits your needs.

  7. From the Theme menu, choose the color scheme that best matches your anticipated design.

arrow downCustomize your menu content

The CSS Menu Writer wizard provides you with many options and settings that allow complete customization of your horizontal or vertical navigation.

  1. Access the CSS Menu Writer by choosing the first Define button.


  2. Select the Add icon.


  3. Choose Add new static link and click OK.


  4. In the Label field, enter the text you wish to appear on the menu.


  5. Choose the Link Browse icon, or enter the path to your menu item.


  6. Click Finish. Your new menu item is inserted within the menu structure tree where you can modify the existing menu content and re-order the structure.


  7. Once you have customized your menu structure as desired, click Finish to return to the primary CSS Menu Writer interface.


For assistance with adding dynamic menu items refer to How to create a dynamic menu using CSS Menu Writer 2.0. Please note, this PDF document is being updated. When finished, a link to the new tutorial will be available here.

arrow downCustomize your menu theme

The CSS Menu Writer 3-tab interface allows you to customize your menu's theme, also known as the design, at each individual level of the navigation.

  1. Access the 3-tab modification interface by choosing the second Define button.


  2. Overview of the three modification tabs:

    1. The Box tab provides options for customizing the width, height, padding, and margin for the various elements of your menu.

    2. The Type tab provides options for specifying the font style, font size, and font color for the various text elements in your menu.

    3. The Design tab provides options for customizing the background colors, background images, and borders for your menu’s design.



  3. Menu Level window:

    1. Each of the three tabs include the Menu Level window which displays the various levels of your navigation.

    2. You can add or delete levels, and switch your menu from horizontal to vertical navigation at any time.


    If you delete a level, any menu items for that level will inherit the properties for the level above it.

  4. Click on the Box tab to modify your menu’s width and height or margins and padding:

    1. From the Menu Level window, select the level of navigation you wish to customize.

    2. Group modifications are applied to all items within the selected level.

    3. Item changes are applied to the individual items within the selected level.

    4. Specify any settings you like. For example, to modify the width of the menu items, choose the Item tab, specify the width, and select the units (if applicable) for the selected menu component.

    5. Select the next menu level you wish to modify from the Menu Level window.

    6. Make any changes to the settings.

    7. Click the Refresh icon to preview your modifications in the Preview window.

    8. Click on the menu in the preview window to view the menu in your browser.



  5. Click on the Type tab to modify your menu’s text properties:

    1. From the Menu Level window, select the level of your navigation you wish to customize.

    2. Choose whether you wish to customize the Link, Visited, Hover, or Active state of your menu’s text.
      The Link state is the primary state for your menu. If there are no styles defined for the other 3 tabs, the text will display according to the Link state styles.

    3. Specify the settings you would like for your text.

    4. Continue to make changes to the other states until you have the text properties you desire.

    5. From the Menu Level Component Window, select the next menu level you wish to customize.

    6. Make any modifications to the type properties for the various states.

    7. Click the Refresh icon to preview your changes.

    8. Click on the menu in the preview window to view the menu in your browser.



  6. Click on the Design tab to modify your menu’s color, images, and borders:

    1. From the Menu Level Component Window, select the level of your menu you wish to customize.

    2. Choose whether you wish to customize the Link, Visited, Hover, or Active state of your menu’s design.

    3. Choose the appropriate Background tab depending on the change you wish to make.
      The <span> tag allows you to specify a right cap image to create a rounded edge appearance to your menu item.
      The <a> tag allows you to specify a left cap image to create a rounded edge appearance to your menu item.
      The <li> tag sets the background properties for the menu item.

    4. Make any desired change to the background of your menu.

    5. Specify a border, if desired.

    6. Choose any other menu levels or a different link state to make further customizations.

    7. Click the Refresh icon to preview your changes.

    8. Click Finish.


arrow downSave the menu as a preset

CSS Menu Writer will provide you the option to save a preset after you click Finish in most interfaces. This option is presented to you after customizing the menu content and menu theme.

It is recommended that you save a new preset each time, allowing you to reuse your custom menu content and design for other websites. Also, this allows you to maintain a backup by exporting the layout from the WebAssist Preset Manager.
  1. Select the Save as preset checkbox.

  2. Choose a Category, or enter a new category name.

  3. Choose a Theme, or enter a new theme name.

  4. Click Finish.

arrow downMake additional changes to the menu

After creating your CSS Menu Writer navigation, you can re-enter the wizard to make additional changes at any time.

  1. In Dreamweaver, select the the Design view.

  2. Click inside the menu on your page.

  3. From the Properties Inspector, click Edit Menu to further customize your navigation.

Or if you are working with HTML pages, Dreamweaver must have Scripts set to display under Invisible Elements. You can then select the script icon beside your menu to display the CSS Menu Writer Properties inspector.

  1. Edit > Preferences.

  2. Select Invisible Elements from the Category column.

  3. Make sure Scripts is checked.

  4. Click OK.

arrow downReviews and comments

Comments will be sent to the author of this tutorial and may not be answered immediately. For general help from WebAssist, please visit technical support.

Sign in to add comments
rating

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.