Customizing breadcrumbs in Zen-based themes
Breadcrumbs are essential elements in the layout of a page. They allow users to identify their current position in the site's hierarchy as well as making it easy to retrace their steps and revisit previously visited pages. This recipe describes how breadcrumbs can easily be customized in Zen-based themes. We will attempt to change the breadcrumb delimiter from ›—an
angled quotation—to …
, an ellipsis.
Getting ready
We will be using the myzen theme created earlier in this book as the example theme in this recipe.
How to do it...
The default myzen breadcrumb uses a right-angled quotation as the delimiter. This can be modified as follows:
Navigate to the theme administration page at
admin/build/themes
(Home | Administer | Site building | Themes).Locate the myzen theme and click on the configure link next to it.
Scroll down until we reach the fieldset titled Breadcrumb settings as displayed in the following screenshot:
Change the value of the Breadcrumb separator...