Fixed: Default Magento Logo Displayed After Upgrading to Magento 2.4.3
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.
1 2 |
Magento\Theme\ViewModel\Block\Html\Header\LogoPathResolver Magento\Theme\ViewModel\Block\Html\Header\LogoSizeResolver |
For example:
1 2 3 4 5 6 |
<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!
Similar Posts:
- Fatal Error: Uncaught Error: Call to a Member Function getSectionNames() After Upgrading Magento 2
- Admin Menu Not Working After Upgrading to Magento 2.4.4
Sanjay Jethva
Sanjay is the co-founder and CTO of Meetanshi with hands-on expertise with Magento since 2011. He specializes in complex development, integrations, extensions, and customizations. Sanjay is one the top 50 contributor to the Magento community and is recognized by Adobe.
His passion for Magento 2 and Shopify solutions has made him a trusted source for businesses seeking to optimize their online stores. He loves sharing technical solutions related to Magento 2 & Shopify.
Prev
How to Customize Magento 2 Contact Us Form [Complete Guide 2024]
Meet Magento India 2022 – Recap and Insights [#MM22IN]
Next