Comments mara-z started the conversationJuly 28, 2021 at 6:19amHello,how can I change the gutenberg small, large, meditum and huge font size?Thank you for your help.Margit 2,679PenciDesign repliedJuly 28, 2021 at 8:25amHi,Please go to Appearance → Theme Editor, Select theme to edit: soledad, navigate to Theme Functions file, find and edit as the screen below:Regards,PenciDesign.mara-z repliedJuly 28, 2021 at 9:54amHello,thank you for your help.I copied it to my child theme and changed it but it did not work. Then I tried to change the original soladed theme function but it also did not word.Margit 2,679PenciDesign repliedJuly 28, 2021 at 10:08amHi,Please re-check the code you've edited and clear your back-end cache then try again.You can view more information about this function here: https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-support/#block-font-sizesRegards,PenciDesign.mara-z repliedJuly 28, 2021 at 12:36pmHello,I emptied the cache and disabled all the plugins.If I put it in the child theme Funkctions file nothing happens. If I change the Soladed Teme Functions file the change shows in the gutenberg editor, but not on the blogpage.Thank you for your help.Margit 2,679PenciDesign repliedJuly 28, 2021 at 1:23pmHi,Please go to Appearance → Customize → Custom CSS then add the following custom CSS code: .has-small-font-size,.post-entry p.has-small-font-size > *{ font-size: 12px;}.has-medium-font-size,.post-entry p.has-medium-font-size > *{ font-size: 20px;}.has-large-font-size,.post-entry p.has-large-font-size > *{ font-size: 32px;}.has-huge-font-size,.post-entry p.has-huge-font-size > *{ font-size: 42px;}Don't forget to modify the font size similar to your settings in the functions.php file.Regards,PenciDesign.mara-z repliedAugust 16, 2021 at 11:00amHello,it works great now. Thank you for your help :-)Margit Sign in to reply ...
Hello,
how can I change the gutenberg small, large, meditum and huge font size?
Thank you for your help.
Margit
Hi,
Please go to Appearance → Theme Editor, Select theme to edit: soledad, navigate to Theme Functions file, find and edit as the screen below:
Regards,
PenciDesign.
Hello,
thank you for your help.
I copied it to my child theme and changed it but it did not work. Then I tried to change the original soladed theme function but it also did not word.
Margit
Hi,
Please re-check the code you've edited and clear your back-end cache then try again.
You can view more information about this function here: https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-support/#block-font-sizes
Regards,
PenciDesign.
Hello,
I emptied the cache and disabled all the plugins.
If I put it in the child theme Funkctions file nothing happens. If I change the Soladed Teme Functions file the change shows in the gutenberg editor, but not on the blogpage.
Thank you for your help.
Margit
Hi,
Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:
Don't forget to modify the font size similar to your settings in the functions.php file.Regards,
PenciDesign.
Hello,
it works great now. Thank you for your help :-)
Margit