Where can I change the font size of code snippets (xx)

Posted in: Newspaper
Post count: 35

I wonder where I can change the font size of code snippets? I couldn’t find anything in the Typography settings of the Theme Panel. Thanks.

Post count: 35449

Hi,

Unfortunately there is no option in theme panel to change the font size for code, but this can be achieve using custom css -> https://tagdiv.com/how-to-create-custom-code-in-newspaper-theme/
If you need to help with this please provide me a link were I can inspect your code snippets.

Thank you!

Post count: 35

Thanks, Calin. I eventually found a plugin which does the job very nicely without too much overhead (https://gehrcke.de/wp-geshi-highlight-demo/).

The only issue that I have is the “&” is being replaced by “&” which seems to be a Gutenberg issue (https://wordpress.org/support/topic/ampersand-character/). If anyone knows an answer to that, I love to know!

Post count: 35449

Hi,

Unfortunately for the moment I can not provide you an answer for that, but I will note this to be check by our developers team.

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.