Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1205544

    Greetings
    I would like to ask if there is a way to adjust the dimension of the fields .. they take a lot of space
    https://ibb.co/DYm7Hg1

    Thank you

    #1205564

    Hey Mohamad,

    Perhaps via css. Please provide a link to the site/page in question.

    Best regards,
    Jordan Shannon

    #1205588

    Hello Jordan
    This photo i sent is from inside the wordpress user dashboard panel
    a link to the site wont have any benefit i guess !

    #1205618

    Hi,

    I see. You can try the following plugin for easy tweaking of the admin css:

    Best regards,
    Jordan Shannon

    #1207395

    Thanks but i wanted some php code not a plugin !

    #1207551

    Hi,

    The plugin is just an easy way to interface with the admin, otherwise you will need to know the proper hooks to use to achieve your results:

    https://codex.wordpress.org/Plugin_API/Action_Reference

    As for the php code to use, you would add any needed css to the functions.php on conjunction with the proper hook. For example:

    add_action('admin_head', 'my_custom_fonts');
    
    function my_custom_fonts() {
      echo '<style>
        body, td, textarea, input, select {
          font-family: "Lucida Grande";
          font-size: 12px;
        } 
      </style>';
    }

    Best regards,
    Jordan Shannon

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.