Development Guides Home

Guide to cPanel Interface Customization and Branding - Branding Customization

Introduction

There are two ways that you can update your cPanel interface. You can either use WHM's Customization interface (WHM >> Home >> cPanel >> Customization), or you can use the API functions described below. Currently, you can change the appearance by using custom colors and custom logos.

Branding modifies the cPanel interface to match your company's logo and brand. Branding options include custom colors and logos.

Custom colors

You can modify the appearance of the cPanel interface to match your company's logo and brand. You can change the primary color using hex codes. Text colors on the main menu and icon colors on the header badges display as black or white depending on the color contrast ratio.

cPanel Interface Jupiter Tools Page Colors

Custom logo

You can add your company logo to the cPanel interface. You can add a logo for a light background and a logo for a dark background. The cPanel interface will automatically select the logo with the most contrast. If you only upload one logo, the cPanel interface will display this logo for both light and dark backgrounds. For example, if the only logo uploaded is a white logo, it will display on a light background as well as a dark. This could make your logo difficult to see. For best results, upload both a light and dark logo.

Important:

The WHM API 1 update_customizations function only accepts SVG images for logos. You must Base64 encode your SVG image. To add your logo in the API call, URL encode the Base64 encoded image.


The maximum area provided for logos in pixels:

Browser Width Height
Desktop 200 100
Mobile 150 50

When uploading your logo, we recommend specifying the width and height in the SVG file for the logos to render properly.

For example:

<svg id="svg" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="400" height="210" viewBox="0, 0, 400,210">

Custom Favicon

You can add a custom favicon to the cPanel interface. You can only use the .ico file format.

WHM API 1 functions

Server owners and resellers can use WHM API 1 functions to update, retrieve, and delete customizations.

We strongly discourage system administrators from manually editing JSON files. Use the appropriate API function to make changes to the cPanel interface.

Using WHM API 1 functions as a server owner or root-enabled reseller

Server owners can use the API Shell to call a WHM API 1 function. To customize the cPanel interface, use the following API functions:

WHM API 1 Function Description
update_customizations This function updates the primary color in the cPanel interface and adds custom logos to the cPanel interface.
retrieve_customizations This function displays customizations made to the cPanel interface.
delete_customizations This function deletes customizations made to the cPanel interface.

Using WHM API 1 functions as a reseller without root privileges

Only root enabled or root-enabled resellers can use the API Shell. If you are a reseller without root access, you must create an API token. Once you have an API token, use the command line to log into WHM as a reseller with your API token to update, delete, or retrieve your customizations.

The following examples use username for your reseller name and IDYXLNQL3TXSAGPR0SLOYKIGAKYNRR16 for the saved API token.

update_customizations

This function only accepts SVG values for logos. You must Base64 encode your SVG image.

To customize colors or add a logo, run the following command with your hex color codes and Base64 encoded string. The following curl command with --data-urlencode will URL encode the Base64 encoded string.

curl -k -H"Authorization: whm username:IDYXLNQL3TXSAGPR0SLOYKIGAKYNRR16" \
  'https://hostname.example.com:2087/json-api/update_customizations?api.version=1' \
  --data-urlencode 'application=cpanel' \
  --data-urlencode 'theme=jupiter' \
  --data-urlencode 'brand={
      "brand" :
          {"colors" : {
              "primary" : "#961218"
          },
          "logo" : {
              "description" : "The logo for SuperReseller, LLC",

              "forDarkBackground" : "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIwLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA5NCAyMCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgOTQgMjA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7ZmlsbDojRkZGRkZGO30KPC9zdHlsZT4KPHRpdGxlPmNQYW5lbCBMb2dvIC0gV2hpdGU8L3RpdGxlPgo8ZyBpZD0iTGF5ZXJfMiI+Cgk8ZyBpZD0iTGF5ZXJfMS0yIj4KCQk8cGF0aCBjbG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OS40LDczLjgsOS41LDczLjYsOS43eiIvPgoJCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik04My41LDIwbDUuMi0xOC45YzAuMS0wLjMsMC4zLTAuNiwwLjYtMC44YzAuMy0wLjIsMC42LTAuMywxLTAuM0g5M2MwLjMsMCwwLjYsMC4xLDAuOCwwLjQKCQkJQzk0LDAuNiw5NC4xLDAuOSw5NCwxLjJsLTMuOSwxMy45Yy0wLjIsMC43LTAuNSwxLjQtMC45LDJjLTAuNCwwLjYtMC45LDEuMS0xLjUsMS41Yy0wLjYsMC40LTEuMiwwLjgtMS45LDEKCQkJQzg1LDE5LjksODQuMiwyMCw4My41LDIweiIvPgoJPC9nPgo8L2c+Cjwvc3ZnPgo=",

              "favicon" :
              "AAABAAEAICACAAEAAQAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACanZoAAAAAAP///////////////////////////AD//+Ag///AEH//gDB//4AQf/+AuCq/AfAgBwP4IA8H+BABA/gQAwH8EAGArA/AgAQPwMACD+DAAAfA+AIPwP1UBQH//gAB//8AAf//gAP//wAH//+iP//////////////////////////////////////////////////////8AP//4CD//8AQf/+AMH//gBB//4C4Kr8B8CAHA/ggDwf4EAED+BADAfwQAYCsD8CABA/AwAIP4MAAB8D4Ag/A/VQFAf/+AAH//wAB//+AA///AAf//6I///////////////////////////8="

retrieve_customizations

To display customizations made to the cPanel interface, run the following command:

curl -s -k -H"Authorization: whm username:IDYXLNQL3TXSAGPR0SLOYKIGAKYNRR16" \
'https://hostname.example.com:2087/json-api/retrieve_customizations?api.version=1' \
        --data-urlencode 'application=cpanel' \
        --data-urlencode 'theme=jupiter'

delete_customizations

To delete customizations made to the cPanel interface, run the following command:

curl -s -k -H"Authorization: whm username:IDYXLNQL3TXSAGPR0SLOYKIGAKYNRR16" \
'https://hostname.example.com/json-api/delete_customizations?api.version=1' \
        --data-urlencode 'application=cpanel' \
        --data-urlencode 'theme=jupiter'

For more information, read our API Tokens in WHM and Manage API Tokens in WHM.