Navigators User’s Guide, Part 3: How to Customize the Navigator Menu by Editing the CSS

Be it at home or at work, we tend to place the items that are most important to us inconvenient and easy-to-find places, such as putting the keys next to the phone, adding a bookmark to our favorite sites in Internet Explorer, or saving a frequently used file on our desktop. Being able to create tabs or drop-down menus on sites, with links to important resources without the need for coding, is essential to organizations and their staff. This article will show you how to customize the Menu Navigator Web Part by editing the CSS.

Bamboo’s Navigators provide this important function and much more. Our Navigators allow you to create custom menus, tabs, tree items, and a Site Actions menu to navigate to sites, pages, or lists within and across sites and site collections. These navigation controls can help you build a clean, user-friendly project management site, or any other type of site that requires customized navigation controls.

If you checked out part two of this series already, you found out how to customize the look of a table in the Navigators Menu by going to the Editing Tools tab and updating the HTML. If you prefer to use CSS to customize your Navigators Menu, you can easily accomplish this by following these steps:

Add CSS Code to the Bamboo.Navigators.css File:

1. Go to Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14TEMPLATELAYOUTSBambooSolutionsBamboo.Navigators

2. Edit the Bamboo.Navigators.css file. Declaring the CSS classes, we added the following code to achieve our desired look and feel:

 
div.Wrapper {

margin: 0 15px 0 0;

padding: 0 0 5px 0;

float: left;

width: 610px;

}

.Wrapper .moreLink {

margin-top: 20px;

float: right;

color: #369;

font-size: 14px;

text-decoration: none;

}

.Wrapper .moreLink:hover {

color: #69A;

text-decoration: underline;

}

#NewsWrapper p {

margin: 8px 0;

}

#NewsWrapper table td {

font-size: 10px;

vertical-align: top;

line-height: 14px;

padding: 3px 0 0 10px;

}

#NewsWrapper table a {

margin: 0;

line-height: 18px;

font-size: 11px;

font-weight: bold;

color: #468102;

text-decoration: none;

}

#NewsWrapper table a:hover {

text-decoration: underline;

}

.CommonTitle {

           color: #708894;

           font-size: 100%;

           letter-spacing: -1px;

           font-weight: bold;

           padding: 0;

           margin: 0;

}

.CommonContentBoxContentAlt {

padding: 0 3px 15px 3px;

font-size: 100%;

/*font-size: 100%;*/

overflow: hidden;

}

UL.CommonContentBoxList, UL.CommonSidebarList {

           list-style-type: square; /* bullets */

margin: 10px 15px 10px 15px;

           padding: 0;

}

UL.CommonContentBoxList LI, UL.CommonSidebarList LI, UL.CommonContentBoxListAlt LI, UL.CommonSidebarListAlt LI {

margin: 3px 0;

padding: 0 0 2px 0;

border-bottom: dotted 1px #ccc;

}

 

Please note that we only added more CSS code to the file. We did NOT delete the two existing classes.

Are you ready to test drive Navigators in your own SharePoint environment? Jump over to the Navigators product page now!

Want to learn more about Navigators? Check out the rest of the series here: