Not logged in. · Lost password · Register
Forum: General Help and Support Templates and Layout RSS
monobook sidebar adjustment
Avatar
seanwilsonorg #1
Member since Feb 2011 · 12 posts
Group memberships: Members
Show profile · Link to this post
Subject: monobook sidebar adjustment
Hi all! Enjoying the monobook template very much!

I had a question about the sidebar. I wanted to modify the sidebar so that two things would happen:

1. It will extend to the top of the page as if no logo were present;

2. It will allow the table of contents for each page to appear at the top. (If you select the TOC to appear in the sidebar, it appears below the navigation box and above the tools. Wanted it on top.

With respect to 1, I see that you can put your own logo image in the user folder. I did that. First, I tried a blank file called logo.png. Then I uploaded a very small image under the same name. Much to my surprise, in both instances I found that the navigation box behaved the same, spatially. It didn't "move up." The space alloted for the logo seemed uniform no matter the size of the supposed image (even for a blank file). I did not test this outside of Chrome, so I don't know if it is a browser issue. I tried searching for the css for the <div> container that houses the png file, but had no luck. Any help on how I can have a sidebar with no logo, going all the way to the top?

I could not begin to think how to attack 2. The main.php file was a little confusing below the div container for the logo image. If I am reading it correctly (big if), it seems to speak only of navigation and toolboxes. I'm not sure where that TOC is. But anyway, my ultimate aim is a simple, clean look, that has no logo and all navigation elements on the left.

Short of that, I stuck Wittgenstein in the hole! http://seanwilson.org/wiki/doku.php

Thanks for any feedback.
Avatar
Jako #2
User title: Débutant
Member since Jan 2011 · 6 posts · Location: Montrouge France
Group memberships: Members
Show profile · Link to this post
Subject: Navigation box empty
Hello
I am using monobook template.
but my navigation box is empty ? (present but empty)
What can I do to put some content in it.
Thank you for your help
Jacques
Avatar
Andreas (Moderator) #3
Member since Dec 2009 · 264 posts · Location: Karlsruhe, Germany
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
@seanwilsonorg is this still relevant for you? You may do all of this by adding some CSS to "/monobook/user/screen.css"

BTW: The TOC comes from DokuWiki (->  tpl_content()), therefore you can't find it :-)


@Jako: Don't hijack threads. Thanks.
I'm so electronic I shit bits
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-01-27, 19:22:50 (UTC +01:00)