[Koha] Opac Nav

Owen Leonard oleonard at myacpl.org
Thu Dec 23 06:56:38 NZDT 2010


> I want it to show only in the main page.

Here's one way to do it:

Create your OpacNav content with a wrapper that has a unique id
attribute ("mainpagenav" in this example):

<div id="mainpagenav">
<p>OpacNav content here</p>
</div>

In your custom stylesheet (or in OpacUserCSS) put:

#mainpagenav { display: none; }
#opac-main #mainpagenav { display: block; }

That should hide the OpacNav content by default but show it on the main page.

Let me know if that works,

  Owen

-- 
Web Developer
Athens County Public Libraries
http://www.myacpl.org


More information about the Koha mailing list