- Posts: 3
COMMUNITY FORUM
K2 tools breadcrumbs issue
- Christopher S. Beard
-
Topic Author
- Offline
- New Member
Less
More
9 years 9 months ago #145459
by Christopher S. Beard
K2 tools breadcrumbs issue was created by Christopher S. Beard
Hi:
I'd like to have the last category not display (or category altogether) not display, when using k2tools module as my breadcrumb generator.
Any way to comment that out? Anyone have any guidance? I know the helper.php file in modules/mod_k2_tools is where you make the edit, just don't know where exactly. Using the latest version of the module if that helps.
Thanks in advance.
Chris
I'd like to have the last category not display (or category altogether) not display, when using k2tools module as my breadcrumb generator.
Any way to comment that out? Anyone have any guidance? I know the helper.php file in modules/mod_k2_tools is where you make the edit, just don't know where exactly. Using the latest version of the module if that helps.
Thanks in advance.
Chris
Please Log in or Create an account to join the conversation.
- Christopher S. Beard
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 3
9 years 9 months ago #145503
by Christopher S. Beard
Replied by Christopher S. Beard on topic K2 tools breadcrumbs issue
Hoping someone's had experience with this.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 9 months ago #145534
by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 tools breadcrumbs issue
I think it would be simpler to use CSS.
www.w3schools.com/cssref/sel_last-of-type.asp
You could hide the a:last-of-type tag.
www.w3schools.com/cssref/sel_last-of-type.asp
You could hide the a:last-of-type tag.
Please Log in or Create an account to join the conversation.
- Christopher S. Beard
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 3
9 years 9 months ago #145544
by Christopher S. Beard
Replied by Christopher S. Beard on topic K2 tools breadcrumbs issue
How exactly would I go about doing so? You ever done this before?
Chris
Chris
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 9 months ago #145557
by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 tools breadcrumbs issue
You can use this as a starting point.
.containerModuleClass a:last-of-type { display: none; }
.containerModuleClass a:last-of-type { display: none; }
Please Log in or Create an account to join the conversation.