Not logged in. · Lost password · Register
Forum: General Help and Support Templates and Layout RSS
[SOLVED] How-to : Sidebar & Category for Dokuwiki Angua - Vector template
Page:  previous  1  2 
Avatar
Andreas (Moderator) #16
Member since Dec 2009 · 264 posts · Location: Karlsruhe, Germany
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
In reply to post ID 32227
Quote by jonb:
Thanks for your quick reply! Here's an example...

http://www.greenbikers.net/sg.test/doku.php/start

As you can see, the sidebar text and horizontal lines overlap into the "main" page.
Interestingly, the "article" tab has moved across ok.
So it looks like I'm missing something.

Really really strange.  :huh:

Quote by jonb:
Here is the entire contents of my vector/user/screen.css...

// Copied from : http://www.dokuwiki.org/template:vector#wider_sidebar_more_space_for_left_column
// BUT: it doesn't work - the main page is not moved over!

CSS does not allow // comments, you can only use /* ... */. Maybe the browser stumbles upon this. Fix it and call http://www.greenbikers.net/sg.test/doku.php/start?purge=1 to force a re-rendering. Empty your browser cache afterwards (CTRL+F5 should do the trick for the current page) to make sure it works.

If it is still broken: there might be plugin or stuff overruling the styles. Try to give the hack more weight by using !important. Example:
/* Give sidebar more space. Default: 10em. */
div#content,
div#head-base,
div#footer {
    margin-left: 22em !important;
}
div#panel {
    width: 22em !important;
}
#left-navigation {
    left: 22em !important;
}

Hope that helps.
I'm so electronic I shit bits
Avatar
jonb #17
User title: Jon B
Member since Oct 2006 · 19 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
Subject: solved
Fixing the the comments sorted the problem!
So thankyou for being so eagle-eyed and spotting this.
Most impressive.

Best regards

Jon B
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:
Page:  previous  1  2 
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20120620-dev, © 2003-2011 by Yves Goergen
Current time: 2014-04-21, 09:10:08 (UTC +02:00)