[pmwiki-users] apply wikistyle to li item?

Roman romat2 at gmail.com
Wed Jun 18 03:23:22 CDT 2008


Try $WikiStyle['shead'] = array('class'=>'shead','apply'=>'item');

On Wed, Jun 18, 2008 at 09:57, Hans <design5 at softflow.co.uk> wrote:

> how can i apply a wiki style to a list item?
>
> like %shead% in a sidebar list:
>
> * [[item1]]
> * [[item2]]
> * %shead%[[item3]]
> * [[item4]]
>
> Result is
> <li><span class='shead'><a ...>
>
> I like to use css like
>
> li.shead { list-style-image:url(img/arrow_down.png); }
>
> I tried in config.php
>
> $WikiStyle['shead']['apply'] = 'item';
>
> which killed the <span class='shead'>
> but did not result in <li class='shead'>
>
>
>  ~Hans
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080618/805a8f67/attachment.html 


More information about the pmwiki-users mailing list