Archived topic
GB Headline Feature Request: free-form input for font size
5 replies · Started by Ash on October 30, 2021
Would be nice if you could add free-form option without a unit.
eg. I'd like to set non-numeric such as min(5vw,18px)
Hi there,
I believe this was discussed internally before but there isn't this kind of free-form input field available if I remember correctly.
How about just adding "no unit" next to px/em/%?
Input fields usually need to either return a number or text. Returning both could cause an error especially users can enter whatever they want.
We will consider it if more requests like this come up.
Thanks!
I understand but for example Font Manager newly added in GP 3.1, I can type anything I want as free-form to the input.
This is very useful.
Usually custom font feature in other products has the input for single font which is not flexible.
https://generatepress.com/forums/topic/fallback-fonts-on-the-font-manager/
The dynamic typography fields are text fields.
I can't recall the exact reason when I asked Tom but it was some sort of technical issue.
Thanks for the mention though!