1

I want to divide my footer into two sections using xml.enter image description here

0

You can add a block to your footer section using XML.

app/design/frontend/Vendor/Theme/Magento_Theme/layout/default.xml

<referenceContainername="footer">
    <block class="Magento\Framework\View\Element\Template" name="custom.footer" template="Magento_Theme::html/custom_footer.phtml" />
</referenceContainer>

<move element="custom.footer" destination="footer" before="-" />

app/design/frontend/Vendor/Theme/Magento_Theme/templates/html/custom_footer.phtml

<p>Lorem ipsum</p>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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