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

Byron Lunz byronlunz at gmail.com
Mon Sep 14 15:00:47 CDT 2015


Thank You Hans! That's close. But I see my description wasn't entirely
accurate. It's not just ONE page where I need to disable the SideBar, it's
any page named "EditMessages" regardless of Group. So, maybe I can create
just a PageName.css file with those changes? I'll go experiment.


On Mon, Sep 14, 2015 at 12:52 PM, Hans Bracker <design at softflow.co.uk>
wrote:

>
> > 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20150914/8ade7ec8/attachment.html>


More information about the pmwiki-users mailing list