I was trying to do something like this in my theme folder's default.xml
<referenceBlock name="footer_social_links"> <block class="Magento\Framework\View\Element\Html\Link" name="social.link" after=""> <arguments> <argument name="label" xsi:type="string" translate="true">Contact Us</argument> <argument name="class" xsi:type="string" translate="false">contact</argument> <argument name="path" xsi:type="string">contact</argument> </arguments> </block> </referenceBlock>
It isn't working at the moment. What I'm wanting to do is add some facebook icon and twitter icon linking to a specific page (pretty normal?). I couldn't find other answers on the stackexchange here for Magento 2.
This was using XML code. Do I need to do in PHTML? I changed the "footer_links" to add custom links already with XML so I thought this was very similar that it would also be done in XML.
I want to add it along the right, under the subscribe section. How do I implement, and then where do I put the styles? _theme.less only and it links by just the class name?