Figure 6: Upload a new logo.
Customize the logo
You will want to use your own images and branding in your developer portal. To use a custom image, add its file to the developer portal’s content library, make a note of its path in this environment, and add a link in the ActiveDocs code to the location of the file in the content library.
For the purposes of this demo, you can use any image on your laptop. Follow these steps:
- In the Developer Portal→Content environment, in the upper right, expand New Page and select New File. The resulting screen is shown in Figure 6.
- Under the Upload File section, choose the following:
- Section: Choose images because you will be uploading a logo.
- Path: Enter /images/MyLogo.png in the field.
- Attachment: Choose the logo you have identified.
- Click Create File.
- Make a note of the path to the image you added. For example, if you added the MyLogo.png image to the images section, the path would be /images/MyLogo.png.
- Navigate to the Layouts→Main Layout screen.
- Replace the existing brand, <a class="navbar-brand" href="/">{{ provider.name }}</a>, which is shown in Line 46 in Figure 8:
- Figure 8: The code includes the existing brand in Line 46.
Replace this line with:
<div class="logo"> <a href="/"> <img src="/images/MyLogo.png" style="width:150px;"> </a> </div>
Scroll to the bottom of the page and click Save.