• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

phpMyAdmin font grew after 8.1 update

michaellunsford

Regular Pleskian
Since updating to the most current Plesk (all options), I've noticed that phpMyAdmin's font size is about quadruple what it used to be. Any ideas how to change it back?

phpmyadmin.png
 
Yes, it's been like that since the phpMyAdmin 2.7.x release I think. They've (the phpMyAdmin Team) changed something in the CSS/templates used by phpMyAdmin.

It's not really Plesk related as it's not Plesk that's making phpMyAdmin.
 
There is a quick and dirty solution for this problem, you only have to change the css-files of the standard-theme:

/usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/themes/original/css/theme_left.css.php
<?php
// unplanned execution path
if (!defined('PMA_MINIMUM_COMMON')) {
exit();
}
?>
/******************************************************************************/
/* general tags */
body {
font-family: <?php echo $GLOBALS['left_font_family']; ?>;
font-size: 11px;
background-color: #D0DCE0;
color: #000000;
}


/usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/themes/original/css/theme_right.css.php
<?php
// unplanned execution path
if (!defined('PMA_MINIMUM_COMMON')) {
exit();
}
?>
/******************************************************************************/
/* general tags */
body {
margin: 0.5em;
padding: 0;
font-family: <?php echo $GLOBALS['right_font_family']; ?>;
font-size: 11px;
color: #000000;
background-image: url(../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/vertical_line.png);
background-repeat: repeat-y;
background-color: #F5F5F5;
}

Only insert the bold lines and you're done! :)
 
Back
Top