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
Hey Mohamad,
Perhaps via css. Please provide a link to the site/page in question.
Best regards,
Jordan Shannon
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 !
Hi,
I see. You can try the following plugin for easy tweaking of the admin css:
Best regards,
Jordan Shannon
Thanks but i wanted some php code not a plugin !
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