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;
}

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

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 40 guests