The fastest way to make a hosting company look more professional is a better WHMCS client area. The fastest way to break it is editing the default theme directly. Here's how I build themes that keep working after every WHMCS update.
The golden rule: use a child theme
WHMCS supports child themes. Your theme inherits everything from a parent (like twenty-one) and only overrides what you change. When WHMCS updates the parent, your changes stay safe.
Create a folder:
/templates/mytheme/ Add theme.yaml:
name: "My Hosting Theme" parent: twenty-one author: "Your Name" config: bootstrap: 4 Then select it under Setup > General Settings > General > Template.
Override only what you need
Copy a single .tpl file from the parent into your child theme and edit it. For example, to change the header, copy header.tpl. Everything you don't copy still comes from the parent.
Keep a list of overridden files in a README. After each WHMCS update, compare those files with the new parent versions.
Add your own CSS
Create /templates/mytheme/css/custom.css and load it in head.tpl:
<link href="{$WEB_ROOT}/templates/{$template}/css/custom.css?v=1" rel="stylesheet"> Use CSS variables so rebranding later is a two minute job:
:root { --brand: #2563eb; --brand-dark: #1e40af; --radius: 10px; } .btn-primary { background: var(--brand); border-color: var(--brand); border-radius: var(--radius); } Don't forget the order form
The order form is a separate template under /templates/orderforms/. Create a child order form the same way, with its own theme.yaml and parent: standard_cart. This is where conversions happen, so:
- Remove distractions during checkout
- Show trust signals (uptime, support hours, money back guarantee)
- Make the price and billing cycle crystal clear
Match your marketing site
Clients notice when the website and client area look like two different companies. Use the same fonts, colors, logo and navigation. Many hosts I've worked with saw fewer "is this site legit?" tickets after matching the two.
Performance tips
- Compress images and use SVG icons
- Don't load extra libraries that WHMCS already includes
- Add a version query string to CSS and JS so updates bust the cache
Testing checklist
Before going live, check:
- Login, register and password reset
- Order form for every product type and gateway
- Invoices, quotes and tickets
- Mobile layout on a real phone
- Email templates (these are separate from the theme)
Wrapping up
A child theme takes a little more planning but saves hours every update. Your client area stays modern and your changes never disappear.
I'm Shahid Malla, a WHMCS developer from Kashmir. Questions about theming? Leave them below.