As soon as applying Magento 2 platform for your store, one of the first things you’ll want to do is to change the Magento 2 default logo in the header, and upload a favicon for the browser. Uploading your own logo will make the store more professional and more reliable in the customer’s mind. Especially, the business logo will help you increase the awareness of your brand significantly.
You’ll also want to update the copyright notice in the footer.These are a few simple design tasks that you can take care of right away. While your store is in development, you can turn on the store demo notice, and then remove it when you’re ready to launch.
Uploading Your Logo in Magento 2
The size and location of the logo in the header is determined by the store’s theme. Your logo can be saved as either a GIF, PNG, JPG, or SVG file type, and uploaded from the Admin of your store. The default Magento logo in the sample data is an SVG file, which is a scalable XML-based vector graphic format.
The logo image resides in the following location on the server. Any image file with by that name and at that location is used as the theme logo.
If you don’t know the size of the logo, or any other image that is used in your theme, open the page in a browser, right-click the image, and inspect the element.
In addition to the logo in
the header, your logo also appears on
email templates and on
PDF invoices and other
sales documents. The logos used for email templates and invoices have different size requirements, and must be uploaded separately
How to upload frontend logo in Magento 2
- On the Admin sidebar, click on
Stores. Then under
- In the panel on the left under
- If you have multiple stores or views, set
Store Viewin the upper-left corner to the view where the configuration applies. Then, clear the checkbox after each field so new values can be entered.
- Expand the
Headersection. Then, do the following:
From Magento 2.1, this path was changed. It is located at
Content > Configuration > Select your current theme > Header
You can see Header section like this.
- To upload a new logo, click on Choose File. Then, choose the file from your computer.
- Enter the
Logo Image Widthand
Logo Image Height.
- In the
Logo Image Altfield, enter the text that you want to appear when someone hovers over the image.
- When complete, click