Change breadcrumb font size?

Joel Theodore

Joined: 2006-09-17
Posts: 40
Posted: Sun, 2009-04-26 15:11

Hi,

I am modifying the Matrix theme, I would like to know how to change the font size of the LAST breadcrumb link.

So you have:
gallery >> album >> album >> ALBUM

or

gallery >> album >> album >> album >> PHOTO

I would like to be able to assign a separate class to the last breadcrumb link. Right now it looks like it generates them breadcrumb-1, breadcrumb-2, breadcrumb-3.

Any ideas how this can be achieved or directions would be appreciated!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2009-04-26 18:01

You would need to edit modules/core/templates/blocks/BreadCrumb.tpl

  <span class="BreadCrumb-{counter name="BreadCrumb"}">
     {$theme.item.title|markup:strip|default:$theme.item.pathComponent}</span>

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Joel Theodore

Joined: 2006-09-17
Posts: 40
Posted: Mon, 2009-04-27 16:18

Thank you very much for your help, it's working with the new CSS additions very well!