Archived topic
Responsive Font Sizes
7 replies · Started by Paul on July 26, 2016
Can font sizes be made responsive? Example - setting the site title to 55px in the Customizer has no effect below the breakpoint - that size remains fixed at 30px.
I'd be happy to add my own css as a base to each child theme if you can tell me specifically what would need to be added - searching the parent stylesheet for font sizes is a bit of a pain as the styling is in one single line.
I think this post is related - https://generatepress.com/forums/topic/font-size-default-in-em-instead-of-px/
Thanks,
Paul.
Hi Paul,
It's at 30px on mobile because of the Mobile Typography settings inside the "Typography" panel.
You should be able to adjust it to whatever you like :)
Thanks, I missed that.
You're welcome :)
Hi, this option for different font sizes based on breakpoints was removed I guess, why is that? I wasn't using GP at the time of this thread.. THX
Which one are you looking for?
Some of them have mobile specific setting and some of them don't.
Any chance you can start a new topic if you need further assistance?
Thanks!
Thanks, that was quick :0)
Oh so body is not but headings are.. I kind of with they all had options for all three breakpoints.
Maybe I'll start a feature request thread then..
body for mobile would be this CSS:
@media (max-width: 768px) {
p {
font-size: 10px;
}
}
Adding CSS: https://docs.generatepress.com/article/adding-css/