You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Desired Feature: Ability to change font size for page content
BookStack Version: v0.17.3
Expected Behavior
Is there any suggested way to change font size through configuration?
Since most of my docs users will prefer bigger font size, I wonder if there's a quick way to change it. An alternative approach would be allowing them to do so client-side with discrete A+ and A- buttons.
Actual Behavior
It looks like the best (and only) approach for this is by customizing the HTML headers.
Also, this looks related to #423 , so in that case I'll follow-up.
Thanks and regards,
Reacted by DoTheEvolution, IJ, doc-jay, Enyosolutions, Dan Dobrick, Jakob Rühlow, Kauê Sena, Jules BOURDAIS, Cory, Maciej Lebiest and 4 more
On a per page basis you could always do a <font size="16"> or make an arbitrary class and do a <span class="biggertext"> to get bigger text where you want it since inline HTML is supported.
Reacted by Ariel Vallese, Fabian Wendlandt and doc-jay
Would be nice to be in the default toolset. I am missing it too. For the whole page or for the selected text. I guess the idea is that people just zoom in as they like in the browser, but controlling selected text font size easily is pretty expected.
Seems this doesnt do anything to the text in the body but only the heading of the page. Has the code updated to reflect a different reference other than .cm-s-base16-light.CodeMirror?
It would be nice to be able to choose the default font size of each level of heading (an perhaps style in general, some people may want to do something like Wikipedia with some titles in bold sans-serif and others in bold serif) . I generally feel distracted by the big size of headings. I'm more for a slightly bigger heading.
I'm a newcomer to BookStack but I'm already publishing in it. I'm also aware that 'Id like that too' posts are to be discouraged. That having said, the rather beautiful GUI that exists is somewhat, IMHO, degraded by the font sizes of titles and section headings. The ability to change these on a per book or system wide level would be hugely appreciated and allow more fine grained control of the appearance of content. I'm not suggesting full blown themes, just granular font control.
Activity
domainzero commentedon Aug 7, 2017
On a per page basis you could always do a
<font size="16">or make an arbitrary class and do a<span class="biggertext">to get bigger text where you want it since inline HTML is supported.alariva commentedon Aug 7, 2017
Thanks @domainzero , I was referring to a global-scope setting, but this also helps.
watschi commentedon Aug 7, 2017
<font size="16">won't change text in codeblocks unfortunately.ssddanbrown commentedon Aug 7, 2017
@alariva Throwing this into the 'Custom HTML Head Content' will get you near:
For a documentation platform it may be good to have this as on-page controls though 🤔 . Good idea.
DoTheEvo commentedon Jun 25, 2018
Would be nice to be in the default toolset. I am missing it too. For the whole page or for the selected text. I guess the idea is that people just zoom in as they like in the browser, but controlling selected text font size easily is pretty expected.
drmax24 commentedon Jun 27, 2019
Any news on this?
ssddanbrown commentedon Jun 27, 2019
@drmax24 Nope, Nothing upon the above options for now
Seth-AIG commentedon Nov 21, 2020
Seems this doesnt do anything to the text in the body but only the heading of the page. Has the code updated to reflect a different reference other than .cm-s-base16-light.CodeMirror?
kauesena commentedon Nov 30, 2020
It would be nice to be able to choose the default font size of each level of heading (an perhaps style in general, some people may want to do something like Wikipedia with some titles in bold sans-serif and others in bold serif) . I generally feel distracted by the big size of headings. I'm more for a slightly bigger heading.
gtothill commentedon Feb 26, 2021
I'm a newcomer to BookStack but I'm already publishing in it. I'm also aware that 'Id like that too' posts are to be discouraged. That having said, the rather beautiful GUI that exists is somewhat, IMHO, degraded by the font sizes of titles and section headings. The ability to change these on a per book or system wide level would be hugely appreciated and allow more fine grained control of the appearance of content. I'm not suggesting full blown themes, just granular font control.
ssddanbrown commentedon Feb 26, 2021
Hi @gtothill,
You can customize the default header sizes by adding something like the below to the "Custom HTML Head Content" setting: