Add a logo
This article describes how to add a logo to your site in Microsoft Dynamics 365 Commerce.
When you build your site, one of the first things that you will probably do is add your company or brand logo to the site's header. The Dynamics 365 Commerce online module library provides a module that makes this task easy.
You can add a logo directly to a template, layout, or page. In this way, you can easily change the logo that appears on specific pages or groups of pages. However, this article covers the most frequent scenario, where you add your logo to a header fragment that can be reused across all the pages of your site.
Before you can add a logo to all the pages of your site, you must complete these tasks.
- Upload your logo to the Media Library.
- Create a header fragment. For more information about how to create and use fragments, see Work with fragments.
- Include the header fragment in the template that the pages of your site use for their layout and module options. For more information about templates, see Work with templates.
To add a logo to the header fragment for your site, follow these steps.
- In the navigation pane on the left, select Fragments.
- Select the header fragment that you created, and then select Edit.
- Expand the header module.
- In the property pane for the header module, provide an image and link for the logo.
- Save the header fragment, finish editing it, and publish it.
After you publish the updated header fragment, all site pages that use the template that contains the header fragment will show your logo.