Skip to content

Instantly share code, notes, and snippets.

@Leland
Created July 18, 2017 15:35
Show Gist options
  • Save Leland/635e9a1c3bd4a3faf6a5258d8102b38d to your computer and use it in GitHub Desktop.
Save Leland/635e9a1c3bd4a3faf6a5258d8102b38d to your computer and use it in GitHub Desktop.
Add sidebar to Magento 2 CMS page
<referenceContainer name="sidebar.additional">
<block class="Magento\Cms\Block\Block" name="replace_with_your_block_id">
<arguments>
<argument name="block_id" xsi:type="string">replace_with_your_block_id</argument>
</arguments>
</block>
</referenceContainer>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment