Logo And Favicon In Magento.

Logo And Favicon In Magento.

Uploading Your Logo 


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.

Logo in Header 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.

Actual path: app/design/frontend/[vendor]/[theme]/web/images/logo.SVG  
Relativepath: images/logo.svg

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. Thelogosusedforemailtemplatesandinvoiceshave different size requirements, and must be uploaded separately. To learn more, see Communications.

To upload your logo: 

1. On the Admin sidebar, tap Content. Then under Design, choose Configuration.
Design Configuration

2. Find the store view that you want to configure, and in the Action column, click Edit. 



3. Expand the header section. Then, do the following:

a. To upload a new logo, tap Upload. Then, choose the file from your computer. 
b. Enter the logo ImageWidth and Logo ImageHeight. 
c. In the logo ImageAltfield, enter the text that you want to appear when someone hovers over the image. 

4. When complete, tap SaveConfiguration.



AddingaFavicon 

Favicon is short for “favorite icon,” and refers to the little icon on the tab of each browser page. Depending on the browser, the favicon also appears in the address bar, just before the URL. 

Favicons are generally 16 x 16 pixels or 32 x 32 pixels in size. Magento accepts ICO, PNG, JPG, and SVG file types, although not all browsers support these formats. 

The most widely supported file format to use for a favicon is ICO. Other image file types can be used, although the format might not be supported by all browsers. There are many free tools available online that you can use to generate an ICO image or convert an existing image to the format.

Process Overview:

Step1: CreateaFavicon 
Step2: UploadtheFavicontoYourStore 
Step3: Refresh the Cache



Step1: CreateaFavicon

     1. Create a 16 x 16 or 32 x 32 graphic image of your logo, using the image editor of your choice. 
     2. (Optional) Use one of the available online tools to convert the file to the .ico format.  Then, save the file to your computer.

Step2: Upload the Favicon to Your Store

    1. On the Admin sidebar, tap Content. Then under Design, choose Configuration. 
    2. In the grid, find the store view that you want to configure. Then in the Action column click Edit. 
    3. UnderOther Settings, expand the HTML Head section. Then, do the following:
          a. Tap Upload. Then, navigate to the favicon file that you prepared, and tap Open.
          b. If you want to delete the current favicon, tap Delete ( ) in the lower-left corner of the image.                Then, upload another. 
    
     4. When complete, tap SaveConfiguration.

Step3: Refresh the Cache.

1. When prompted to refresh the cache, click the Cache Management link in the message at the top of the workspace. 

2. In the list, mark the Page Cache checkbox that is marked “Invalidated.” 

3. Set Actions to “Refresh.” Then, tap Submit. 

4. To view the new favicon, return to your storefront and press F5 to refresh the browser.


Thx For Reading the blog if you have any query feel free to ask in the comment box.
 
TO learm how to install Magento:

And How to configure magento then read this blogs:
part1
part2

Do follow on:
Instagram: Vishant
Facebook: Vishant
 

Comments