I know how to remove default Magento2 footer link.
in default.xml file add below code.
<referenceBlock name="footer_links" remove="true"/>
also I know how to add new link in footer using default.xml file
<referenceContainer name="footer">
<block class="Magento\Framework\View\Element\Html\Link\Current" name="Our Store">
<arguments>
<argument name="label" xsi:type="string">Our Store</argument>
<argument name="path" xsi:type="string">our_story</argument>
</arguments>
</block>
</referenceContainer>
but I want to add footer link like I attach image for that how can I do formatting and code so I get what I want?
default.xml file code is below.And this is default magento code I didn't change anything in this file. now I want to add footer link like I show in image above.How can I do? In magento 1.x we go to footer.phtml file and place code or call cms block or page. can we do same in magento2 or do only using xml?
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="header.panel">
<block class="Magento\Framework\View\Element\Html\Links" name="header.links">
<arguments>
<argument name="css_class" xsi:type="string">header links</argument>
</arguments>
</block>
</referenceContainer>
<referenceBlock name="logo">
<arguments>
<argument name="logo_img_width" xsi:type="number">148</argument>
<argument name="logo_img_height" xsi:type="number">43</argument>
</arguments>
</referenceBlock>
<referenceContainer name="footer">
<block class="Magento\Store\Block\Switcher" name="store_switcher" as="store_switcher" after="footer_links" template="switch/stores.phtml"/>
</referenceContainer>
<referenceBlock name="report.bugs" remove="true"/>
<move element="copyright" destination="before.body.end"/>
</body>
</page>
enter preformatted text here