1 (edited by KeyDog 2008-12-31 19:34)

Topic: How to turn off brd crumbs EITHER at top or bottom

is there a way to set it to display only the crumbs at bottom or top?
keep getting both on or off ....

Re: How to turn off brd crumbs EITHER at top or bottom

On Line 277 of header.php you can disable top breadcrumbs by adding "//" at the beginning of the line.

Line 280 for the bottom breadcrumbs.

Re: How to turn off brd crumbs EITHER at top or bottom

great thanks- was looking in the .css's

Re: How to turn off brd crumbs EITHER at top or bottom

For CSS it would be:

#brd-crumbs-top{ /* or -end for the bottom one */
visibility:hidden;
}

Re: How to turn off brd crumbs EITHER at top or bottom

I'm torn now.
In first solution the crumbs  AND space where it is placed disappear
in 2nd solution there's an empty space where the crumb was before (even if it doesn't show obviously)

Changing CSS is cleaner for style modifications... but empty spaces not always ideal maybe...

Re: How to turn off brd crumbs EITHER at top or bottom

Here's a better way:

#brd-crumbs-top{
visibility: hidden;
margin: 0;
line-height: 0px;
}

It'll leave a small gap.

7

Re: How to turn off brd crumbs EITHER at top or bottom

Garciat wrote:

Here's a better way: ... It'll leave a small gap.

For no gap use:

#brd-crumbs-top { display: none; }

Re: How to turn off brd crumbs EITHER at top or bottom

cool thx @ both

Re: How to turn off brd crumbs EITHER at top or bottom

You need the small gap - otherwise, the preceding and succeeding elements will meet (aka look ugly).

Re: How to turn off brd crumbs EITHER at top or bottom

The index page is also generated without crumbs so if you're working on a external page integrated in the layout you can define it as index to remove the crumbs.

Re: How to turn off brd crumbs EITHER at top or bottom

I have a question, not exactly what the topic is about but it doesn't merit its own thread.

Where can I change what the first breadcrumb directs you to?  By default it goes to index.php, I'd like to change that if it's possible.  I checked in the header.php and a few other files that seemed to fit, but I couldn't find something that seemed likely.  I very well could have overlooked it though.  Any ideas?

For what it's worth, the reason I want to do this is I've renamed index.php.  If there's something else I should change I'd love to know that as well!

Re: How to turn off brd crumbs EITHER at top or bottom

Check function generate_crumbs($reverse) in functions.php. Around line 685.

13 (edited by Rich Pedley 2009-01-06 12:20)

Re: How to turn off brd crumbs EITHER at top or bottom

There is a far easier way of removing the breadcrumbs.

copy main.tpl from include/template to your style folder eg. style/Oxygen

and remove either of these 2 lines:
<!-- forum_crumbs_top -->
<!-- forum_crumbs_end -->

and voila no more breadcrumbs.

my mind is on a permanent tangent
byUsers forum