Setting your company logo - SonarSoftware/customer_portal GitHub Wiki

Replacing the default Sonar logo with your company logo is easy. Your logo should be a transparent PNG file, and reasonably small for the best look and feel. Don't use a logo with too much height, or it may push down the login form.

To set your logo, add your logo to the directory /usr/share/portal/public/assets/images and name it logo.png. If you have a logo on your website, for example, and you want to quickly download it to your customer portal, you can run the following commands:

  1. cd /usr/share/portal/public/assets/images/
  2. wget https://PATH_TO_YOUR_LOGO/your_logo.png
  3. mv your_logo.png logo.png

In steps 2 and 3, replace PATH_TO_YOUR_LOGO and your_logo.png with the appropriate URL/filename. You can also upload a file to your server using something like FileZilla.