Hide "Home" Button on Home Page?

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
2/7/2012 7:12:52 AM
Gravatar
Total Posts 355

Hide "Home" Button on Home Page?

I'm having a brain glitch at the moment - is there any way to hide the "Home" button on the menu only on the "Home" page?

2/7/2012 10:14:15 AM
Gravatar
Total Posts 18439

Re: Hide "Home" Button on Home Page?

Hi,

You can add an extra class on the li element of the home link like this:

<portal:HomeLink ID="HomeLink" runat="server" RenderAsListItem="true" ListItemCss="topnavitem homelink" />

Then in page settings for your home page add the body class homepage

Then in CSS add this:

.homepage .homelink {display:none; }

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.