Post by Ghost Leader » Fri Nov 16, 2018 2:50 pm

how do you disable also the text above breadcrumb? The one saying on what page you are.
Can you point me to the right direction?
many thanks
Last edited by Ghost Leader on Wed Nov 21, 2018 6:08 pm, edited 1 time in total.

New member

Posts

Joined
Fri Nov 04, 2016 3:58 pm

Post by xxvirusxx » Mon Nov 19, 2018 10:14 pm

You can remove this code from .tpl files where you want to not show

Code: Select all

  <ul class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
    <li><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a></li>
    <?php } ?>
  </ul>
Or easy way. Add this to css:

Code: Select all

.breadcrumb {
	display: none;
}
Example:

From:

Code: Select all

.breadcrumb {
	margin: 0 0 20px 0;
	padding: 8px 0;
	border: 1px solid #ddd;
}
To:

Code: Select all

.breadcrumb {
	margin: 0 0 20px 0;
	padding: 8px 0;
	border: 1px solid #ddd;
	display: none;
}

Free converted extensions


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by Ghost Leader » Wed Nov 21, 2018 6:07 pm

great info. Thanks!

New member

Posts

Joined
Fri Nov 04, 2016 3:58 pm
Who is online

Users browsing this forum: No registered users and 2 guests