Add your Company Branding or custom logo to cPanel and phpMyAdmin

Category : cPanel/WHM

Want to add your own Logo and Name to cPanel and phpMyAdmin interface ? We will show you how you can Add Text or custom Logo to the cPanel’s Header Bar and change phpMyAdmin Logo to your preferred logo.


  • root access to cPanel/WHM Server
  • PNG Files for Logo


  • Change cPanel Logo
  1. Login to WHM.
  2. Find Customization Option using Search Bar.
  3. Add Company Name, Help Link, and Logos for cPanel and WebMail. You can add favicon as well if required.
    adding text and logos
  4. Press Save Button after you add the desired things.
  5. Login to the cPanel and check for the changes like the below image.
    cpanel header
  • Change phpMyAdmin
  1. Login to root user of the Server
  2. Head over to the directory /usr/local/cpanel/base/3rdparty/phpMyAdmin/themes
    cd /usr/local/cpanel/base/3rdparty/phpMyAdmin/themes
  3. In themes directory, you can find stock phpMyAdmin theme named pmahome. Create a copy of the stock theme using the following command. cp -r pmahome basezap
  4. Replace the logo_left.png and logo_right.png image files in basezap/img directory with your desired logo files.
  5. If you need to edit theme name edit theme.json as per your requirement.
  6. Fix the permissions for the new theme directory. chown -R root:wheel /usr/local/cpanel/base/3rdparty/phpMyAdmin/themes/basezap
  7. Edit the file /usr/local/cpanel/base/3rdparty/phpMyAdmin/ and add the following line at the end of the file. This will make your customised theme as default for all cPanel Users.
    $cfg['ThemeDefault']= 'basezap';
  8. Login to cPanel and open phpMyAdmin and check if changes are reflecting like the below image.
    phpmyadmin header logo