How to Add Custom CSS to the Vendor Dashboard

Because the vendor dashboard operates independently of your active theme, typical methods for adding custom CSS do not work. Here is how to add it:

Add the following PHP code snippet to your site:

add_action('marketking_dashboard_head', function(){
   ?>
   <style type="text/css">  
      .your_css_here{
         color: blue;
      }
   </style>
   <?php
});

You can place any custom CSS between the <style> and </style> tags. This CSS will only apply to the vendor dashboard.

You can add this PHP snippet to your functions.php file, or learn about other methods in our snippets guide.

Powered by BetterDocs