In a component font control, I want to keep the font the same across all device sizes, is this the correct way to do it?:
{
"title": "Title Font:",
"id": "titlefont",
"themeFont": {
"default": {
"base": {"name": "body"}
}
}
},
In a component font control, I want to keep the font the same across all device sizes, is this the correct way to do it?:
{
"title": "Title Font:",
"id": "titlefont",
"themeFont": {
"default": {
"base": {"name": "body"}
}
}
},
If you don’t want to allow the user to change fonts between breakpoints, you’ll need to add “responsive: false” to the control. Like this:
{
"title": "Title Font:",
"id": "titlefont",
"responsive": false,
"themeFont": {
"default": {
"base": {"name": "body"}
}
}
},
@dan I just wanted to confirm, I was talking about the actual font assigned - not the font size. So that code is for the font itself, correct?
Yes, correct!