Not logged in. · Lost password · Register
Forum: General Help and Support Templates and Layout RSS
Bad width with default template, and unable to modify it
Avatar
Zinc #1
Member since Dec 2017 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Bad width with default template, and unable to modify it
Hi,

Since several versions, I find the default template too narrow: it take about 50% of my screen width (1920x1080).
Google said I just have to modify /dokuwiki/lib/tpl/dokuwiki/style.ini
I had __site_width__  = "75em" which I modified to __site_width__ = "95em" but the result is exaclty the same.

What could be the problem?

edit:
after I posted this message, a refresh shown a great improvement (why only now?! I try this since several hours!).
But with __site_width__  = "100em" or 100% there is still 1/8 of the screen lost on each side (so 1/4 in all).
If I reduce the browser's window, I have the correct size: only a small gap on each side.

With Google Chrome (Windows) I still lost about 1/4 of the width.
With Mozilla Firefox (Windows) I still lost about 1/3 of the width (worst than before).
With Mozilla Firefox (Linux) I still lost about 1/6 of the width. Could be okay but not every visitor is using Firefox on Linux.
This post was edited on 2017-12-01, 19:09 by Zinc.
Avatar
LarsDW223 #2
Member since Sep 2014 · 428 posts · Location: Paderborn
Group memberships: Members
Show profile · Link to this post
Did you try to go to the Admin page and use the Template Style Settings? E.g.:
The width of the full site (can be any length unit: %, px, em, ...): 100%
Avatar
Zinc #3
Member since Dec 2017 · 2 posts
Group memberships: Members
Show profile · Link to this post
Oh yes, so simple! Thanks.

The change thru the admin page is immediate and work with every broswer tested.
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-08-23, 16:12:45 (UTC +02:00)