How to Add Custom CSS to the Agent Dashboard

Because the agent dashboard is built in a way that's disconnected from the theme, typical methods of adding CSS do not work there. Here is how to do it:

Add a PHP code snippet to your site, as follows:

add_action('salesking_dashboard_head', function(){
   <style type="text/css">  
         color: blue;

You can place any custom CSS between the <style> </style> tags. This CSS will only apply on the agent dashboard page.

A PHP snippet can be added to functions.php or by following our snippets guide here.

Powered by BetterDocs