Site logo

Archived topic

font size in text editor

1 reply · Started by yannis2810 on September 18, 2018

Viewing posts 1–2 of 2

Hi,
I have found this function, which adjusts the width of the text editor:

add_filter( 'admin_footer', 'fulleditorwidth', 99 );
function fulleditorwidth() { 
?>
    <style type="text/css">
    #wp-content-editor-container {width: 960px!important;}
    </style>

<?php } 

Is there a way to use the same function to change the font size and font family too?

Yannis

Hi there,

I did a quick Google research and couldn't find anything related to this.

GP just uses the default WordPress editor though so this might be a better question for WordPress' support:
https://wordpress.org/support/

They should be able to help you out better if there is indeed a way :)

Let me know if this helps.

This archived topic is closed to new replies.