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 ....
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.3 discussion → 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 ....
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.
great thanks- was looking in the .css's
For CSS it would be:
#brd-crumbs-top{ /* or -end for the bottom one */
visibility:hidden;
}
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...
Here's a better way:
#brd-crumbs-top{
visibility: hidden;
margin: 0;
line-height: 0px;
}
It'll leave a small gap.
Here's a better way: ... It'll leave a small gap.
For no gap use:
#brd-crumbs-top { display: none; }
cool thx @ both
You need the small gap - otherwise, the preceding and succeeding elements will meet (aka look ugly).
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.
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!
Check function generate_crumbs($reverse) in functions.php. Around line 685.
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.
PunBB Forums → PunBB 1.3 discussion → How to turn off brd crumbs EITHER at top or bottom
Powered by PunBB, supported by Informer Technologies, Inc.