Is there a way to increase the font size of my content on my app, which is using CSS based on Twitter Bootstrap 3? I attempted a solution from this particular question, but it seems to be overridden by Bootstrap itself. Here is what I have tried:
@media (max-width: 600px)
html {
font-size: 130%; // strikethrough in chrome = inactive style
}
This is how I am currently loading my CSS files (Bootstrap files are fetched from Bower):
<link href="bootstrap.css" rel="stylesheet">
<link href="bootstrap-theme.css" rel="stylesheet">
<link href="main.css" rel="stylesheet">
Can anyone advise on how to make the fonts larger for devices with a max width?
Update: Even adding !important
does not seem to have an impact. It appears that Bootstrap is prioritizing font styles over the following CSS:
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 1.42857143;
color: #333;
background-color: #fff;
}