cancel
Showing results for 
Search instead for 
Did you mean: 

Logo & Favicon Not Uploading

Logo & Favicon Not Uploading

Hello.

 

Hope someone can help when im uploading the logo and favicon but its not changing or not showing on the front end any ideas.

 

Regards

Dan

9 REPLIES 9

Re: Logo & Favicon Not Uploading

Hi @daniel_keay1

 

any error or any message showing on the backend when you are uploading the logo ? or from the backend logo is successfully uploaded but not showing on frontend ?

 

Also can you please confirm you are replacing logo for the same website and store which you are looking at the frontend ? as sometimes we have multiple stores/website then you required to change logo for that specific store/website

 

hope it helps !

if issue solved,Click Kudos & Accept as Solution

Re: Logo & Favicon Not Uploading

Hello thank you for your reply.

 

No error and yes im uploading it in the right place Smiley Happy made that mistake before haha.

 

when i upload it i get the loading sign and then the image goes blank like it hasnt uploaded tried different browsers ect still no luck.

 

Dan

Re: Logo & Favicon Not Uploading

Hello @daniel_keay1

 

Adding a custom favicon in Admin

To add a custom favicon in the Magento Admin, do the following:

  1. Navigate to CONTENT > Design > Configuration.
  2. In the scope grid, decide on which level you will configure the favicon and click Edit in the corresponding row.

    favicon 1

  3. Under the Other Settings title, expand the HTML Head options.
  4. Next to Favicon Icon, click Upload, and select the file.

    favicon 2

  5. Click Save Configuration in the upper right corner to save the changes.

If caching is enabled in your Admin, you get a notification that refreshing certain cache types is required. Click the link provided in the notification, and then click Flush Magento Cache.

Add custom favicons manually

To override the default 16px x 16px favicon manually, add your custom favicon.ico in the <your_theme_dir>/Magento_Theme/web/directory.

To add favicon icons of other sizes, take the following steps:

  1. Add your icons in the <your_theme_dir>/Magento_Theme/web/ directory.
  2. In the <your_theme_dir>/Magento_Theme/layout/default_head_blocks.xml layout file specify the paths to the icons and their sizes.

For example, if you added a favicon-32x32.png icon and want it to be used as a 32px x 32px favicon, your default_head_blocks.xml would be like following:

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <head>
        <link src="Magento_Theme::favicon-32x32.png" rel="icon" sizes="32x32" />
    </head>
</page>
 

For your changes to be applied, clear the browser cache, and the following directories on the server (do not delete the .htaccess file!):

  • pub/static
  • all directories under var
Manish Mittal
https://www.manishmittal.com/

Re: Logo & Favicon Not Uploading

Getting This Error 

 

Screenshot 2018-10-24 at 14.10.12.png

Re: Logo & Favicon Not Uploading

Hi @daniel_keay1

 

Kindly go to var/log directory and open exception.log file and check is there any log is there or not ?

if issue solved,Click Kudos & Accept as Solution

Re: Logo & Favicon Not Uploading

I received the same error message as above too. And when I checked my /var/log...there is no such file. What should i do?

Re: Logo & Favicon Not Uploading

Hello @daniel_keay1  @yana_noor 

 

Try this: 

In vendor/magento/module-theme/view/adminhtml/ui_component/design_config_form.xml file change fileUploader to imageUploader on line number 57 and 154

Manish Mittal
https://www.manishmittal.com/

Re: Logo & Favicon Not Uploading

Thank you for the quick response. 

 

Where would I find this file? in my ftp client directory?

Re: Logo & Favicon Not Uploading

yes, in root directory you can see vendor folder.

Manish Mittal
https://www.manishmittal.com/