Is that supposed to work in 2.11.0.M3? I tried this and the CSS got added like this:
<div class="leftmenu"> <div class="add-css">/*hide the default jspwiki logo */a.logo { border:none; text-indent:-99em;}a.logo b:before { content:""; }<p>/* put the clean-blue logo, attached to this page */a.logo { background: url(images/imagej.jpg); background-size: contain; background-repeat: no-repeat; background-position: center; height: 60px; width: 180px; </p><p> /* add a fancy button like effect */ box-shadow:0 0 .25em white; border-radius:2em; background-color: rgba(255,255,255,0.15);}</p></div> On Sat, Jul 6, 2019 at 10:29 AM Dirk Frederickx <dirk.frederi...@gmail.com> wrote: > Hi Jerry, > > > https://jspwiki-wiki.apache.org/Wiki.jsp?page=How%20to%20change%20the%20site%20logo > > See step-3 / adding styles to the LeftMenu page > > The trick is to add the %%add-css block only to the LeftMenu page. > This page is included in the sidebar, which is rendered *every time* a > users accesses a jspwiki page (view, edit, userprefs, etc...) > This way you can make style changes that apply across all pages. > > Hope this helps > dirk > > > > > On Fri, Jul 5, 2019 at 6:33 AM Jerry Malcolm <techst...@malcolms.com> > wrote: > > > Dirk, et al.... now a question that is completely unrelated to the > > previous saga.... I would like to change the upper left logo to my > > client's site logo. I read the doc about how to do this using the > > %%add-css blocks. But from what I can tell in the documentation, it > > appears that I have to re-add that same block of code to every page in > > the entire wiki. I couldn't find an explanation or example of how to do > > it globally. Is it true that i need to add that entire block of code to > > every page that I want to change the logo on (which is every page in the > > entire wiki) Or is there a way to add that %%add-css code once and have > > it apply across all pages? > > > > Thx again. > > > > Jerry > > > > >