Archived topic
Body Typography Settings Not Working?
6 replies · Started by Christopher on December 8, 2017
So, I'm setting body type sizes in GP Pro for different views. I set desktop to 18px. I set tablet to 16px and phone to 14px. Problem is, when I set one value for a view, the others change along with it. I've tried publishing after each setting change, but I still end up with one font size for all viewport sizes.
Am I missing something? I'm using 2.0rc1.
TIA!
Hi there,
I'm not quite sure what you mean? We don't currently have toggle options to set different font size for different screens.
If you are referring to the toggle at the bottom right of the customizer, those are strictly for preview.
We can use CSS to accomplish this though:
@media (max-width: 768px) {
body {
font-size: 14px;
}
}
@media (min-width: 769px) and (max-width: 1024px) {
body {
font-size: 16px;
}
}
https://docs.generatepress.com/article/responsive-display/
Adding CSS: https://docs.generatepress.com/article/adding-css/
So I can't use customization for body font-size? Works fine with headings for different viewports. Seems counterintuitive to have customization tools that are sometimes purposeful and sometimes for preview only.
You can use it for the body font size, but we don't have any tablet or mobile options for the body font size currently: https://www.screencast.com/t/SoOVLHweF
Hey Tom,
How do I see what you're seeing under the typography tab? I'm not seeing an option for the body, or anything that that link you provide is showing. I'm trying to just change my font and size and so far I have gotten nowhere. Thanks for any help.
Hey Tom,
How do I see what you’re seeing under the typography tab? I’m not seeing an option for the body, or anything that that link you provide is showing. I’m trying to just change my font and size and so far I have gotten nowhere. Thanks for any help
Hi Taylor,
This topic is from 2017 so a lot of things have changed since then.
Can you open a new topic for your question?
Thanks!