[pmwiki-users] Suppress search field in default skin
Patrick R. Michaud
pmichaud at pobox.com
Sun Mar 8 18:38:23 CDT 2009
On Sun, Mar 08, 2009 at 09:12:17PM +0100, Oliver Betz wrote:
> is there a possibility to suppress the search field, especially the
> link to the search page, in the default skin (besides changing the
> skin)?
If you don't mind losing the RecentChanges link, try the following in
pub/css/local.css:
.wikihead { display: none; }
If you really want to keep the RecentChanges link, perhaps the
following instead:
.wikihead a { display: none; } /* turns off Search link */
.wikihead input { display: none; } /* turns off input fields */
.wikihead .headnav a { display: inline; } /* turns on RecentChanges link */
You can also put the above strings into the $HTMLStylesFmt variable:
$HTMLStylesFmt['nosearch'] = '
.wikihead a { display: none; } /* turns off Search link */
.wikihead input { display: none; } /* turns off input fields */
.wikihead .headnav a { display: inline; } /* turns on RecentChanges link */
';
Pm
More information about the pmwiki-users
mailing list