How to customize your menu by using the CSS Skin Editor

If you want to visually edit the currently skin used for your menu, you can do so by using the CSS Skin Editor. Consider the menu you created in the Generate a CSS menu into an HTML site built with Dreamweaver templates tutorial. Open the html_tmp.dwt template file from the site you built. Click inside the menu translator, and in the Property Inspector that displays, click the Edit CSS Skin button to open the skin editor. Notice how the menu translator behind the CSS Skin Editor dialog box changes, displaying the second level as well (sub-items for the first parent item on the first level):

 

Follow the instructions below to customize the arktic_orange skin used for the menu (notice the live updates in the menu translator behind the skin editor dialog box):

  1. Change the font family and font size for the first level items, in the normal state:


                                             
    In the First level tab, the Items option on the left, configure the following properties:

  2. Change the font size, weight and color for the first level items, in the selected state (there is no live preview for the selected state):


                                             
    In the First level tab, the Items selected option on the left, configure the following properties:

  3. Set a dotted brown border for the sub-menus container:


                                             
    In the Other levels tab, the Container option on the left, configure the following properties:

  4. Change the background color for other-than-first level items, in the hovered state:


                                             
    In the Other levels tab, the Items hover option on the left, configure the following properties:

  5. You can click the Apply Changes button on the right to update the arktic_orange skin. You will be asked for confirmation to overwrite/alter the default skin, but it is better not to alter it - you don't know when you'll need it later on, then again, you can always generate the default .css files in the includes folder (by creating a CSS menu using that default skin). So click the Save As button to save the customized skin under a new name.

  6. In the Create New CSS Skin dialog box that opens, name the new skin - my_orange_skin:


                                             

  7. To apply the new skin to the menu, click Yes in the dialog box that pops-up after clicking OK in the Create New CSS Skin one:


                                             

  8. Notice how the menu translator is updated in page. Close the CSS Skin Editor dialog box, save the page, upload it to the server, and preview the CSS menu in browser:


                                             

  9. The font size for the selected menu items on other-than-first menu levels is bigger than you wanted (see ImpAKT, MX Send E-mail), and the font weight is more intense as well. This happened because the font size (13) and weight (bold) for selected items on the first level (these properties were set above) were inherited for other levels. To make the size smaller and the weight lighter, open the CSS Skin Editor dialog box, and in the Other levels tab, the Items selected option on the left, configure the following properties:


                                             

  10. After saving and uploading the page to the server, the CSS menu should look like this in browser:


                                             

  11. To make it look more elegant, change the offset for sub-menus on the 3rd level (and higher levels, of the case). Click the Edit Menu Items button in the Property Inspector, and in the Sub-items tab of the dialog box that opens, configure the following options:


                                             

  12. After following all the steps above, the CSS menu should look like this in browser (select the Home item on the first level so that you can see its font color set above):

 

Compare the edited/new skin with the original one here, and notice the differences and how easy it was to get there!