Skip to content
Public Ticket #17548

Gutenberg Font size

Conversation thread

mara-z replied

Customer Reply

Hello,

it works great now. Thank you for your help :-)

Margit

PenciDesign Supporter replied

Staff Reply

Hi,

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 replied

Customer Reply

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

mara-z replied

Customer Reply

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

PenciDesign Supporter replied

Staff Reply

Hi,

Please go to Appearance → Theme Editor, Select theme to edit: soledad, navigate to Theme Functions file, find and edit as the screen below:

image.png

Regards,
PenciDesign.


mara-z started the conversation

Conversation Start

Hello,

how can I change the gutenberg small, large, meditum and huge font size?

Thank you for your help.

Margit

Want to join this conversation or access attachments? Sign in first.