I use Magento 2.2.4 and I want to add a static block with the name "support" in the right side of the top menu, but what I try not working.
I try to add this in the phtml file
<?php echo $block->getLayout()->createBlock('Magento\Cms\Block\Block')->setBlockId('support')->toHtml();?>
I try to add this in the Magento_Theme/layout/default.xml
<referenceContainer name="page.top">
<block class="Magento\Cms\Block\Block" name="support">
<arguments>
<argument name="support" xsi:type="string">support</argument>
</arguments>
</block>
</referenceContainer>
I do something wrong?
Thank you