Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Ash J
How to remove breadcrumb
July 21, 2011 2:00 AM
Answer

Ash J

Rank: Junior Member

Posts: 83

Join Date: March 22, 2011

Recent Posts

Hi,

I have a requirement to remove the Breadcrumb bar from all the pages.

Can someone please help me on how to do this? I'm using Liferay 6

Thanks,
-ash
Rojalin Patri
RE: How to remove breadcrumb
July 21, 2011 9:14 PM
Answer

Rojalin Patri

Rank: Expert

Posts: 287

Join Date: March 22, 2011

Recent Posts

Hi Ash,
you can remove the "bread crumps" by commenting out the following lines of code in portal-normal.vm file present in path "tomcat-6.0.26/webapps/ROOT/html/themes/classic/templates"
<nav class="site-breadcrumbs" id="breadcrumbs">
<h1>
<span>#language("breadcrumbs")</span>
</h1>

#breadcrumbs()
</nav>
but it's not advisable to modify the default themes provided by liferay. so it's better to do the above changes in your custom theme.
Hope this helps...........
Ash J
RE: How to remove breadcrumb
July 21, 2011 3:26 AM
Answer

Ash J

Rank: Junior Member

Posts: 83

Join Date: March 22, 2011

Recent Posts

Thanks Rojalin, it works emoticon

Cheers,
-ash
Kevin Thorpe
RE: How to remove breadcrumb
December 10, 2012 3:17 AM
Answer

Kevin Thorpe

Rank: New Member

Posts: 13

Join Date: August 9, 2012

Recent Posts

Better than fiddling the default theme and risking losing it, add a short bit of CSS.

Go to look and feel for your site pages (public or provate) and add a little line of CSS

.site-breadcrumbs { display:none; }