.. _header_logo: Add a custom header logo ######################### Follow these instructions to add a custom logo or banner to the solution header. .. _custom_header_logo_no_code: No-code customization ====================== To replace the logo in the header of the solution, add a file named ``header-logo.png`` to the following location in the ``asset`` folder: .. code-block:: xml src/ansys/solutions//ui/assets/logos/header-logo.png You should use a PNG file with a transparent background. For example, if you use this picture as the header logo: .. image:: ../img/header-logo2.png :width: 80% The header logo is then displayed as follows: .. image:: ../img/custom-header-logo-in-use.png :width: 90% Low-code customization ======================= Change the file type or name of the header logo ------------------------------------------------ To add an image with different name (other than the default ``header-logo.png``), change the filename and file type in the following file: .. code-block:: xml src/ansys/solutions//ui/utils/logos.py For example, if you want to add an image named ``sample-company-logo.jpg``, modify the ``Logo`` class like this: .. code-block:: python :caption: logos.py :emphasize-lines: 2 class Logo(Enum): HEADER_LOGO = "sample-company-logo.jpg" ANSYS_SOLUTIONS_HORIZONTAL_LOGO = "ansys-solutions-horizontal-logo.png"