The decision to upgrade Magento store to the latest version is indeed important for security reasons. However, the latest releases also come with minor bugs and flaws that can make things go wrong in your Magento store.
One such problem faced by some of the Magento store owners after upgrading to the Magento 2.4.3 is the logo issue. Default Magento logo displayed after upgrading to Magento 2.4.3.
Such issue can make your store look unprofessional and can deteriorate the customer experience of your store. In the worst cases, it can even make the visitors doubt on your online store. All these can lead to lower conversion rates on your online store and can affect your branding.
In case you are also one of such Magento store owners, who is facing the same logo issue after upgrading to the Magento 2.4.3 version, then you are in the right place now. Here, I have provided a complete solution to deal with the logo display problem.
Magento store owners can use the solution which is below to solve the logo problem after upgrading to the Magento 2.4.3 version.
How to Solve – Default Magento Logo Displayed After Upgrading to Magento 2.4.3 Issue
Open the default.xml file at app/design/frontend/Vendor/Theme/Magento_Theme/layout/ and add the following block.
Magento\Theme\ViewModel\Block\Html\Header\LogoPathResolver Magento\Theme\ViewModel\Block\Html\Header\LogoSizeResolver
For example:
<block class="Magento\Theme\Block\Html\Header\Logo" name="logo"> <arguments> <argument name="logoPathResolver" xsi:type="object">Magento\Theme\ViewModel\Block\Html\Header\LogoPathResolver</argument> <argument name="logo_size_resolver" xsi:type="object">Magento\Theme\ViewModel\Block\Html\Header\LogoSizeResolver</argument> </arguments> </block>
That’s it!
This is how you can fix the logo display issue on your Magento store after upgrading to Magento 2.4.3.
In case you are facing any other issue or have any query regarding this solution, feel free to comment it down. I would be happy to help you.
Also, do not forget to share this solution with your Magento friends via social media.
Thank You!