Tagged: x
-
AuthorPosts
-
November 20, 2016 at 4:09 pm #1264584
MBParticipantHi,
Please advise the most recent code to make a global adjustment for all H1-5 headings displaying at a smaller font on mobile devices.
Thanks, MB
November 20, 2016 at 10:05 pm #1264840
RupokMemberHi there,
Thanks for writing in! You can add the below code :
@media only screen and (max-width: 480px) { h1, .h1 { font-size: 400%; } h2, .h2 { font-size: 285.7%; } h3, .h3 { font-size: 228.5%; } h4, .h4 { font-size: 171.4%; } h5, .h5 { font-size: 150%; } h6, .h6 { font-size: 100%; } }Now change the font-size for the heading levels to your preferred size.
Cheers!
November 20, 2016 at 10:24 pm #1264855
MBParticipantWouldn’t we want the percentages smaller if we want the fonts smaller on mobile?
November 21, 2016 at 12:06 am #1264933
Paul RModeratorYes,
You need to change it to achieve your desired font size.
You can also change it in px if you want a fixed size.
Thanks
November 21, 2016 at 1:41 am #1265001
MBParticipantThese settings did not work for us. Even with tweaking the percentages and font sizes. There is no consistency across the site, some h2 headings went tiny and others went huge. Is there another more elegant solution?
November 21, 2016 at 1:49 am #1265006
ChristopherModeratorHi there,
Please provide us with screen shots so we can see the issue.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1264584 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
