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
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 !
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
File Type is .ico right ? actually they have written below the upload icon notice -
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
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
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