Marcel Iseli Posted May 3, 2021 Posted May 3, 2021 Hey Guys I am using the IPB default theme. And in the backend, I am able to change the font size for desktop by using the scale font sizes option. However this does not seem to change the body font size on mobile at all (only on desktop). Could somebody please tell me how I can change the body font size, so that it will appear bigger on mobile phones as well! Kind regards, Marcel
PPlanet Posted May 3, 2021 Posted May 3, 2021 @Marcel Iseli you can try this. Add this in your theme's custom.css file /** * Font size for mobile */ @media screen and (max-width: 767px){ .ipsType_normal { font-size: 16px; } .ipsDataItem_title { font-size: 16px; } .ipsType_medium { font-size: 16px; } .ipsStreamItem_title { font-size: 18px; } .ipsStreamItem_titleSmall { font-size: 16px; } .cWidgetPrice { font-size: 11px; } } You can play with the sizes but I wouldn't recommend going larger than that. kmk 1
Marcel Iseli Posted May 3, 2021 Author Posted May 3, 2021 38 minutes ago, PPlanet said: @Marcel Iseli you can try this. Add this in your theme's custom.css file /** * Font size for mobile */ @media screen and (max-width: 767px){ .ipsType_normal { font-size: 16px; } .ipsDataItem_title { font-size: 16px; } .ipsType_medium { font-size: 16px; } .ipsStreamItem_title { font-size: 18px; } .ipsStreamItem_titleSmall { font-size: 16px; } .cWidgetPrice { font-size: 11px; } } You can play with the sizes but I wouldn't recommend going larger than that. Thank you, I will certainly try that! The standard font sizes are WAAAAY to small on mobile devices in my opinion. So I want to try that out. I need much bigger body font on mobile. Also, I just got an error because of that in google search console (text too small). that's the main reason I wanna do that...and it's much easier to read after all if its bigger. Thank you! PPlanet 1
Marcel Iseli Posted May 3, 2021 Author Posted May 3, 2021 4 hours ago, PPlanet said: @Marcel Iseli you can try this. Add this in your theme's custom.css file /** * Font size for mobile */ @media screen and (max-width: 767px){ .ipsType_normal { font-size: 16px; } .ipsDataItem_title { font-size: 16px; } .ipsType_medium { font-size: 16px; } .ipsStreamItem_title { font-size: 18px; } .ipsStreamItem_titleSmall { font-size: 16px; } .cWidgetPrice { font-size: 11px; } } You can play with the sizes but I wouldn't recommend going larger than that. this works like a charm, thank you very much! Meddysong and PPlanet 1 1
PPlanet Posted May 4, 2021 Posted May 4, 2021 12 hours ago, Marcel Iseli said: this works like a charm, thank you very much! Glad to know. That's exactly how I have the fonts set on my site for the same reasons you mentioned.
Łukasz Przechodzeń Posted September 23, 2021 Posted September 23, 2021 This is exactly what I was looking for! I hope Google will like my forum more now 🙂
Recommended Posts