change of font-size in tablet.css has no effect

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sun Apr 03, 2016 10:05 pm
Reply with quote
Report this post
Hi,

I want a larger font in the tablet view of the website. So I changed the existing css declaration inside tablet.css.
The existing one is:
body {
font-size: 14px;
}
to body {
font-size: 17px;
}

This change is not picked up by the template: it keeps using the 14px value.
I flushed all caches, opened and closed the site x-times: nothing changes at all.

What am I doing wrong?


Thank you.

Paul
User avatar
Expert Boarder

GK User
Mon Apr 04, 2016 2:03 pm
Reply with quote
Report this post
Forgot the url of the site, sorry.

The site is this one:
http://www.each-for-sick-children.org/
User avatar
Expert Boarder

teitbite
Sun Apr 10, 2016 1:33 pm
Reply with quote
Report this post
Please add this code to override.css and make sure override is enabled in template settings.

Code: Select all
@media only screen and (max-width:924px) {
body {
    font-size: 17px;
}
}
User avatar
Moderator

GK User
Sun Apr 10, 2016 2:53 pm
Reply with quote
Report this post
Hi,

Thanks for responding.
I pasted the complete code and tested this. I made the font-size: 27px so it should really make a change. But the font-size in tablet view and smaller stays the same: 14pt.
I know it should work, but it does not.
see:
https://www.stagingsite.each-for-sick-children.org

The site is j3.5.1, the template MO 3.20.1
User avatar
Expert Boarder

GK User
Sun May 22, 2016 12:12 pm
Reply with quote
Report this post
I think perhaps this post has somehow got lost.
I really still would like ans answer to the question I put to you.
I know the suggested solution is correct, but my problem is that it does not solve the issue, as I described in my earlier posts.

Thank you.
User avatar
Expert Boarder

teitbite
Tue May 24, 2016 9:48 am
Reply with quote
Report this post
Hi

Sorry. It got lost indeed. I've missed Your reply, apologies for that. I've just checked and the code I asked to add to override.css is simply not there. Please attach this file or copy it's content.
User avatar
Moderator


cron