I want to display my logo in panel wrapper instead of actual position in Magento 2.3. How can I do that? Something like
instead of
2
Find which header style your are using and edit your header style in appdesignfrontend\marketMagento_Themetemplateshtmlheader-style.
Add your custom html in that file.
echo $block->getChildHtml('logo_theme');
You can move logo to header.panel.wrapper using your theme’s default.xml file.
Open appdesignfrontendVendorThemenameMagento_Themelayoutdefault.xml file add below code:
<move element="logo" destination="header.panel.wrapper" before="-"/>
This will move logo inside “panel wrapper” class.
Click here to cancel reply.
2
Answers
Find which header style your are using and edit your header style in
appdesignfrontend\marketMagento_Themetemplateshtmlheader-style.
Add your custom html in that file.
You can move logo to header.panel.wrapper using your theme’s default.xml file.
Open appdesignfrontendVendorThemenameMagento_Themelayoutdefault.xml file add below code:
This will move logo inside “panel wrapper” class.