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

Font is not monospaced #356

Closed khoitsma closed 1 year ago

khoitsma commented 1 year ago

Describe the bug No matter what font selections I make, the font is not changed -- the font is Trebuchet MS, just like the rest of the page

WordPress Editing Mode Classic Editor

Wordpress WPEngine

Theme Starbay

AndiDittrich commented 1 year ago

sounds like your themes css is overriding the EnlighterJS default styles

did you selected "Theme Customizer" as EnlighterJS theme ?

khoitsma commented 1 year ago

Andy,

Thank you kindly for your quick response.

It was tricky but I got it.

I deleted the plugin, reinstalled it, and it seems to be working.

Link: https://www.mathpax.com/aisc-bolt-holes/

I presume the code block has no coloring when printed, as in my case. I've looked but can't find a statement saying yes or no.

Thanks again, Karl

On Sun, Aug 21, 2022 at 2:55 AM Andi Dittrich @.***> wrote:

sounds like your themes css is overriding the EnlighterJS default styles

did you selected "Theme Customizer" as EnlighterJS theme ?

— Reply to this email directly, view it on GitHub https://github.com/EnlighterJS/Plugin.WordPress/issues/356#issuecomment-1221492916, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNNIJCM5TULSSGXF4LTX7DV2HOGJANCNFSM57D2HURA . You are receiving this because you authored the thread.Message ID: @.***>

AndiDittrich commented 1 year ago

sounds like a cache issue with a "optimization" plugin - read the faq and exclude the enlighter resources.

the "color issue" is caused by modern browsers to increase the readability - you can add some css to turn this off (force colorized)