EnlighterJS / Plugin.WordPress

:package: Official WordPress Plugin of EnlighterJS
http://wordpress.org/plugins/enlighter/
GNU General Public License v2.0
115 stars 17 forks source link

Not possible to change the size of formatted text #365

Closed SuperBoss9 closed 1 year ago

SuperBoss9 commented 1 year ago

image It remains always 1em.

In 'raw stylesheet' I see only the following: image

But everywhere else in the customizer 1.2em is provided.

What can be wrong?

AndiDittrich commented 1 year ago

the .enlighter related settings are never changed by the customizer - it just creates a custom theme which overrides the defaults. you may forgot to set the size unit (rem, em) (missing in your screenshot above)

to control the font-size, just set the "token base style" to "1rem"

SuperBoss9 commented 1 year ago

the .enlighter related settings are never changed by the customizer - it just creates a custom theme which overrides the defaults. you may forgot to set the size unit (rem, em) (missing in your screenshot above)

I'm sorry but I didn't get you. If I select a theme from a list in the set-up. Then use a customizer then will I get a custom CSS which is applied to the site "code tags" or not?

to control the font-size, just set the "token base style" to "1rem"

Yes, that was my mistake. Now fixed. Thank you :)