[pmwiki-users] Looking for a little help with notsosimple skin please

Hans Bracker design at softflow.co.uk
Mon Sep 14 14:52:30 CDT 2015


> I've been happily using pmwiki & the notsosimple skin for several
> years. But I've run into a problem and I'm not skilled enough with
> CSS or pmwiki to find the solution. Is anyone here able to help? You
> can reply off-list to keep down the noise if you prefer.

> The issue is that the notsosimple skin has a fixed width of about
> 900px. The SideBar then consumes 160px of that width on every page.
> But I now have a page where I need more width and I'd like the
> SideBar to collapse/disappear on that page and only that page. I
> found a reference to (:noleft:) but it's not working on my installation.

you would need to edit the notsosimple.tmpl file.
You could try this:

swap these lines in the tmpl file:
 <!--HeaderText-->
 <link rel='stylesheet' title="(NotSo) Simple" href='$SkinDirUrl/notsosimple.css' type='text/css' />

The tmpl file is also missing markup for (:noleft:) to work, but since
you want to change width for one specific page, you could change some
css rules via a Group.PageName.css  file (name of Group and page for
which you want css changes) in the pub/css/ folder.
Create such file and add to it something like this:

#header, #main { width: 1200px; } /*set your page width*/
#content { width: 1150px; }    /*adjust main div width*/
#wikitext { width: 1100px }  /*adjust wikitext div width*/
#sidebar { display: none; }

the reason you need to change the tmpl file is that such a page
specific css file gets loaded after the skin's csss file, so the rules
set by the skin will get overridden by your pub/css/Group.Page.css file

Best regards,
 Hans                         




More information about the pmwiki-users mailing list