cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3: Not Able To Change Favicon Icon Through Admin

Magento 2.3: Not Able To Change Favicon Icon Through Admin

I need to change the favicon icon through admin.

 

Content -> configuration -> Edit custom theme
then add the icon in ‘HTML Head’ tab ‘Favicon Icon’ upload button, But it is not adding the icon.

 

Any idea?

 

Thanks

6 REPLIES 6

Re: Magento 2.3: Not Able To Change Favicon Icon Through Admin

Hello @Shiwani Miglani 

 

Can you check on the browser console its showing error or not ?

 

Also, Icon is uploading or its not uploading ?

 

Also - Changing favicon from admin reflects in both frontend and admin end while changing it manually /app/design/frontend/<Vendor>/<Theme>/Magento_Theme/web/favicon.ico reflects only on front end.

 

Hope it helps !

if issue solved,Click Kudos & Accept as Solution

Re: Magento 2.3: Not Able To Change Favicon Icon Through Admin

Yes, it will be work when I do manually from the theme.

 

But I need to change from admin because I don't have theme files this time and I didn't get any error in console.

 

Thanks

Re: Magento 2.3: Not Able To Change Favicon Icon Through Admin

Hi @Shiwani Miglani 

 

File Type is .ico right ? actually they have written below the upload icon notice - 

Not all browsers support all these formats!
 
So there might be a issue - can check the same on other browsers ?
 
if issue solved,Click Kudos & Accept as Solution

Re: Magento 2.3: Not Able To Change Favicon Icon Through Admin

Hello @Shiwani Miglani ,

 

 

File path : /vendor/magento/module-theme/view/adminhtml/ui_component/design_config_form.xml

Find and replace :

<field name="header_logo_src" formElement="fileUploader">

To

<field name="header_logo_src" formElement="imageUploader"> <field name="head_shortcut_icon" formElement="fileUploader">

To

<field name="head_shortcut_icon" formElement="imageUploader">

 


--
If my answer is useful, please Accept as Solution & give Kudos

Re: Magento 2.3: Not Able To Change Favicon Icon Through Admin

@gelanivishal 

 

How to override the same path in the custom theme as I get the theme files access to me. Now I can edit the theme files. Please suggest for the same.

 

File path:/vendor/magento/module-theme/view/adminhtml/ui_component/design_config_form.xml

 

Re: Magento 2.3: Not Able To Change Favicon Icon Through Admin

Hello @Shiwani Miglani ,

 

Yes, It is not right but it's a default issue on v2.3 and which is fixed now. So you can change in the core file. In future, if you are upgrading Magento then it will be replaced. 

 

You can see this issue's PR here https://github.com/magento/magento2/pull/20092/files

 


--
If my answer is useful, please Accept as Solution & give Kudos