Is it possible to increase font size in Bootstrap? A functionality to allow the user to increase the font of the whole website.
Is this possible? If there is a way to manually increase the font-size will be helpful too instead of the automated way.
just redefine body styles with large font-size
body { font-size: 16px; }
or you can customize bootstrap http://getbootstrap.com/customize/#typography Just change @font-size-base to the font-size you like.
The default font-size
is 14px.
You can use lead
class which font-size
is 21px
Check reference for more info.
or
add style="font-size:25px;
attribute to <body> tag
and change the size according to your need.
Not pretty but this can work. I haven't tried it. Create a number of csss, example 120p.css, 140p.css etc. In 120p.css put
body {font-size:120% !important}
In 140p.css put
body {font-size:140% !important}
Finally save the users preference and based on that include the appropriate css.