• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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