after-header

How to Remove the Comments Link in the Navigation

To remove the Comments RSS Link from the right side of the Navigation bar when RSS Links are selected add the following to your Child theme’s functions.php file
[Read more...]

How to Apply Custom CSS Classes to a Custom Menu

This tutorial will show you how to apply custom icons to your individual menu items, as well as customize and add additional links to the Primary Navigation extras. It uses the Delicious child theme for demonstration purposes.

Step One:

Set up a Custom Menu for your Primary Navigation.

Step Two:

Create custom css classes for each item.

For the Home link, I used the following:

#nav li.home a {
    background: url(images/home.png) no-repeat left center;
    padding: 0 0 0 25px;
    border: none;
    }

For individual links, since I chose not to use unique icons, this code was used:

#nav li a {
    background: url(images/star.png) no-repeat left center;
    font-family: Tahoma,Arial,Verdana;
    color: #FFFFFF;
    display: block;
    font-size: 12px;
    height: 28px;
    line-height: 26px;
    margin: 5px 0 0 0;
    padding: 0 0 0 25px;
    text-decoration: none;
    position: relative;
    border: 1px solid transparent;
    }

#nav li:hover a, #nav li:active a {
    background: #404040 url(images/star.png) no-repeat left center;
    color:#FFFFFF;
    border: 1px solid #333333;
    border-radius: 6px;
    -moz-border-radius: 6px;    
    -webkit-border-radius: 6px;    
    -webkit-background-clip: padding-box;    
    -webkit-background-origin: padding-box;
    }

Step Three:

Enable Custom CSS Classes via the Screen Options button.

Step Four:

Add your custom menu item to the menu. Be sure to assign the CSS class.

Step Five:

The Twitter link is also a custom menu item, with a special CSS class. Note the left margin in the code given below – this positions the link on the right side of the navigation. It can be edited according to the number of menu items present.

#nav li.twitter a {
    background: url(images/twitter-nav.png) no-repeat left center;
    margin: 0 0 0 350px;
    padding: 3px 0 1px 20px;
    border: none;
    }

How to Use Custom Nav Menus

Step One:

Go to Dashboard > Genesis > Theme Settings, and select Custom Nav Menu as shown in the screenshot below:

Step Two:

Go to Dashboard > Appearance > Menus and create your Custom Menu.

Step Three:

Click Screen Options in the upper right corner of the Menus page to choose which options you wish to show for your menu items.

Step Four:

Select the items you wish to add to your menu, and click “Add to Menu”. You can simply drag and drop the items into the order you wish them to appear.

Step Five:

Once the menu has been saved, you can assign it to the Theme Location unless it is to be used as a widget.

Step Six:

There are times you may need a custom link – the most frequently requested is “Home”. This can be added by selecting “Add Home Link” in the Custom Links section. This can also be used to create a top-level item that can not be clicked – the “Categories” link in the screenshot above. Simply label the Custom Link, and use # as the URL.

Video

To see a better example of this new feature in action, check out this video screencast our developer, Nathan Rice, recorded.

Protecting selected sections of a document in Microsoft Word 2008

For the last several weeks I’ve been struggling to find a way get Microsoft Word 2008 to allow for only specified sections of a document to be protected. I’ve used this feature in previous versions of Word and was shocked to find that it was, apparently, missing in 2008. Tonight, while looking through menu options, I found the answer to this problem and I wanted to take a moment to share my find.

The documents that I need apply this to are a series of Microsoft Word 2008 specific templates. This includes fax, letter, memo, etc. All of the documents require the use of form fields that allow the user to enter information and then tab to the next field. In order to be able to tab through the fields the document must be protected. This essentially freezes everything on the page except the contents of the form fields. The problem with this is that formatting can not be applied to the contents of form fields. The body of the documents require the use of all formatting functions. Also, spell checking does not function within protected documents.

Thankfully Microsoft has provided a solution to this problem through the use of continuous section breaks. Section breaks are intended to be used for inserting breaks for chapters and such without actually creating a page break. For the purpose of these templates, however the continuous section break will allow us to leave one or more sections of the document unprotected.

A basic guide to create a template using this method:Form Toolbar

Start by creating the layout of the document. Use the”Forms” toolbar to insert Text Form Fields where tabbable fields will be needed.

When the layout of the document is complete with all styles applied and Text Form Fields inserted the next step is to determine which sections of the document will need to be protected and which will need to remain unprotected.

Insert Section break from menuTo insert a section break navigate to the Insert drop-down menu, hover over “Break,” and then click on “Section Break (Continuous)”

Once the appropriate continuous section breaks have been inserted the document can be protected. In order to choose which sections of the document will be protected you must navigate to the “Tools” drop-down menu, and then click on “Protect Document.” On the resulting dialog box choose the radio option for “Forms” and then click the “Sections” button. Another dialog box will appear which will allow you to select any or all of the existing document sections to be protected. Check the appropriate check-boxes and click “OK” on both dialog boxes to complete the protection process. At this point you should be able to tab through the Text Form Fields and enter information into each field without being able to disturb static information that is located in a protected section. The area in the unprotected sections of the document can be edited, formated, and modified as usual.

Protect document menu option

Protected section selection dialog boxProtect Document dialog boxI have one remaining issue with with section protection in Microsoft Word 2008. While manual spell check will function perfectly well on the unprotected sections of the document, the Auto Spell Check will not. I am searching for a solution to this problem but it appears to be a bug in the software. I hope that Microsoft will address this issue in an upcoming software update.