Breadcrumbs
Permalink Browser Info Environment
If this is a general C5, my apologies for posting here. I searched in the general C5 site, but couldn't find quite the answer I need.
How do you not display the current page in the breadcrumb trail? I have some long page names and the breadcrumbs are pushing the page title in the main content area to multiple lines.
I see the AutoNav in the pagemeta.php, but am not sure what to put. Another option would be to give the breadcumb the full page width above the main content area. Still trying to figure that out as well.
Any help would be much appreciated. Thanks.
Tim
How do you not display the current page in the breadcrumb trail? I have some long page names and the breadcrumbs are pushing the page title in the main content area to multiple lines.
I see the AutoNav in the pagemeta.php, but am not sure what to put. Another option would be to give the breadcumb the full page width above the main content area. Still trying to figure that out as well.
Any help would be much appreciated. Thanks.
Tim
Type: | Discussion |
---|---|
Status: | New |
Hmm, not sure how to not have the current page display. But to make the breadcrumb area full width, in the theme's main.css file remove the float:right property from #breadcrumbs and then just add text-align:right if you still want them aligned right.
Create a custom breadcrumb template (copy concrete/blocks/autonav/templates/breadcrumb.php over to root/blocks/autonav/templates/breadcrumb.php, maybe rename it something like "no_title_breadcrumb.php" or something).
Towards the bottom of that php file, find this output code:
Change it to this:
Basically, all you did was tell it to print nothing instead of the current page name.
If what you really want is to display the breadrumb nav and then the page title right below it in a big <h1> or <h2> style, then try something like this:
This way is the least intrusive I can think of. You can add a class or two to the <a> css as well and really get it where you want.
D
Towards the bottom of that php file, find this output code:
Change it to this:
Basically, all you did was tell it to print nothing instead of the current page name.
If what you really want is to display the breadrumb nav and then the page title right below it in a big <h1> or <h2> style, then try something like this:
This way is the least intrusive I can think of. You can add a class or two to the <a> css as well and really get it where you want.
D