Not logged in. · Lost password · Register
Forum: General Help and Support Templates and Layout RSS
bootstrap3 sidebar width
Avatar
coriron #1
Member since Oct 2016 · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: bootstrap3 sidebar width
Can anyone guide me in the direction of what I need to edit to change the sidebar width in the bootstrap3 theme? Ive tried adding __sidebar_width__ = "20em" into the /tpl/bootstrap2/style.ini file, but it doesn't work.
Avatar
Digitalin #2
Member since Feb 2014 · 207 posts · Location: Uzès - France
Group memberships: Members
Show profile · Link to this post
In admin settings --> Bootstrap3 settings you have :

tpl»bootstrap3»leftSidebarGrid   col-{xs,sm,md,lg}-x
and a link for CSS Bootstrap

You have same possible settings for rightsidebar.
Avatar
Daan #3
Member since Jun 2018 · 2 posts · Location: The Netherlands
Group memberships: Members
Show profile · Link to this post
Is there anyone who could please provide me with an example, how to increase the width of the sidebar of the Bootstrap 3 template? I would like to have the sidebar a bit wider, and the overal page wider as well. We use DokuWiki company-wide and we all have 22" monitors at least so there is enough space for a wider design.

I would really really appreciatie a reply!
Avatar
Digitalin #4
Member since Feb 2014 · 207 posts · Location: Uzès - France
Group memberships: Members
Show profile · Link to this post
The fluidContainer option gives you the full width of the page. You can also display a button in navbar to expand container if you want to give choice to yours users.
Avatar
steridhh #5
Member for a month · 1 post
Group memberships: Members
Show profile · Link to this post
In reply to post #1
Install Bootstrap Wrapper Plugin

https://www.dokuwiki.org/plugin:bootswrapper.

(I'm using this template: https://www.dokuwiki.org/template:bootstrap3 )

Go to  Admin, Configuration, Plugin -- > Bootswrapper

Look for  'tpl»bootstrap3»leftSidebarGrid'  and change the default ' col-sm-3 col-md-2 '  to  'col-sm-3 col-md-3'  or

'col-sm-3 col-md-4'  as needed.
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: 2019-07-23, 14:01:27 (UTC +02:00)