Magento 2.x – Move Logo from header content to panel header


If you are using a brand new Magento installation, you have to bear in mind, that you will need to create a new custom theme following below instructions.

Then, If you already have a custom theme, and your logo is in the content panel like this one:

You need to do the following:

  • Create your custom theme by inheriting the default Luma or Blank theme at below location (if you are not using a custom theme)

    You can refer this link: M2 – Create a new custom theme
  • Create default.xml at below location

    In your default.xml file put the below given code there
  • Clean cache and the logo should be moved.