Increase font size of SQL query box

Go to the css directory of the theme

cd /var/www/html/myadmin11/themes/original/css

Then vi theme_right.css.php

find the "textarea#sqlquery" and change it

 textarea#sqlquery {
 font-size:2em;  /* add this line to what font size you want */
 width: 80%;
 height: 300%;
 }

I Had the same problem using phpMyAdmin with xampp.

to fix, go to

xampp > phpMyAdmin > themes > pmahomme > css

open the following file with your text editor

codemirror.css.php

and add the following line to the very bottom of the file

.CodeMirror pre {font-size:1.4em;}

Now save the file and that should do it!

(if phpMyAdmin is using a different theme to pmahomme then just add that line

of code to every codemirror.css.php file you can find!


Find your phpMyAdmin directory.

   cd themes

You may see more than one theme, and you want to make changes in the theme you are using -- phpMyAdmin lets you choose your theme. I use the original theme, so I made changes there.

Go to the css directory of the theme

   cd original/css /* or your preferred theme */

Use a text editor like nano to modify theme_right.css.php

   nano theme_right.css.php

Search for 2 style definitions

   .CodeMirror pre
   .CodeMirror textarea

Both will show "font-size: inherit" or font-size:inherit!important

Change to

    font-size: 16px; /* or whatever you prefer */

Save and reload phpMyAdmin Note that you may need to clear your browser cache for these changes to appear.

Tags:

Phpmyadmin