1

I want to move a block on my page. its now located in the header and i want to move it to the panel header.

In the xml file of the extension, i see this:

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <head>
        <css src="Interactivated_Customerreview::css/kiyohrating.css"/>
    </head>
    <body>
        <referenceContainer name="header-wrapper">
            <block class="Interactivated\Customerreview\Block\Customerreview" name="top.kiyohmicrodata" as="top.kiyohmicrodata" template="Interactivated_Customerreview::microdata.phtml" />
        </referenceContainer>
    </body>
</page>

What do i need to change to move this?

1 Answer 1

0

Magento 2 comes with a move xml element

<move element="block.or.container.name" destination="destination.container" />

In your case it will singly be what ever is in your Magento_theme folder under layout

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.