I'm using the Omega theme with the Delta module. How can I theme the breadcrumb block using block--breadcrumb.tpl.php?
I want to change the output of the block to something similar to the following.

<nav id="breadcrumb">

You should copy theme_breadcrumb to your theme's template.php file:

function YOURTHEME_breadcrumb($variables) {
  $breadcrumb = $variables['breadcrumb'];
  if (!empty($breadcrumb)) {
      $crumbs = '<nav><ul class="breadcrumbs">'; 
      foreach($breadcrumb as $value) {
           $crumbs .= '<li>'.$value.'</li>';
      $crumbs .= '</ul></nav>';
      return $crumbs;

By this function you can set up a ui li structure.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.