incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dirk Frederickx" <dirk.frederi...@gmail.com>
Subject Re: Hashlinks appear on sections
Date Sat, 29 Nov 2008 19:08:23 GMT
Should be fixed in latest v3.0.0-svn-14 & v2.8.1-svn-17


dirk

On Thu, Nov 27, 2008 at 3:43 PM, Roland Whitehead <roland@quru.com> wrote:
>>> Having just upgraded to 2.8.1 I have been asked why hashlinks are
>>> appearing at the end of every section heading and if they can be
>>> removed. I can't see what it is that would remove them but I note that
>>> http://www.jspwiki.org doesn't have them. I guess that there would be a
>>> preference in  jspwiki.properties, probably a
>>> "jspwiki.defaultprefs.template."  property but can find no reference to
>>> such. Any suggestions?
>>
>> It has them.  It is a way to link at the header in question.
>>
>> Probable reason is that your CSS is not updated - it's still residing
>> in browser cache.  Clicking on shift-refresh helps.  Then they should
>> disapper (but they will reappear when you hover on top of them).
>>
>> This is issue https://issues.apache.org/jira/browse/JSPWIKI-288Janne,
>
> I found that my style had over-ridden h2,h3 and h4 with a special colour
> scheme and this was then overriding the default a:hashlink style because
> style.css is loaded after the main jspwiki.css. The solution is the
> judicious use of the !important declaration:
>
> "a.hashlink{color: transparent !important;line-height:
> 1.2;padding:.25em;text-decoration: none;
> border: none !important;}"
>
> Many thanks to Janne for pointing me in the right direction
>
>
> Roland
> --
> QURU Ltd, London

Mime
View raw message