Skip to content

Adding a new column to default Footer?

Magento 2.4.7

I would like to add a new column to the footer of my store. The current default.xml looks like that:

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceContainer name="footer">
            <container name="cms_footer_links_container" label="CMS Footer Links" htmlTag="div" htmlClass="links" before="footer_links" />
        </referenceContainer>
        <referenceBlock name="footer_links">
            <block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="privacy-policy-link">
                <arguments>
                    <argument name="label" xsi:type="string" translate="true">Privacy and Cookie Policy</argument>
                    <argument name="path" xsi:type="string">datenschutz</argument>
                </arguments>
            </block>
            <block class="MagentoFrameworkViewElementHtmlLinkCurrent" name="imprint-link">
                <arguments>
                    <argument name="label" xsi:type="string" translate="true">Imprint</argument>
                    <argument name="path" xsi:type="string">impressum</argument>
                </arguments>
            </block>
        </referenceBlock>
    </body>
</page>

I added a new template with some content, but I want to display it next to the links in the footer, not below. The code to include my template is this:

<block class="MagentoThemeBlockHtmlFooter" name="foo" as="foo" template="Magento_Cms::whatever.phtml"/>

Question: How can I add this in a new column next to the footer links?

Thanks